aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-11-30 15:27:11 -0500
committerDavid S. Miller <davem@davemloft.net>2010-11-30 15:27:11 -0500
commitb3419363808f2481b24a817f491878e1795db4c7 (patch)
tree76cfa3c55d6798a9bf25d200778dc212841f6cb0 /net/ipv4
parent672f007d65f50468a4a1e55825fe58e5b035324d (diff)
ipv6: Add infrastructure to bind inet_peer objects to routes.
They are only allowed on cached ipv6 routes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/inetpeer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index 1c1335b0d401..f95b89f3916d 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -532,6 +532,7 @@ static int compute_total(void)
532{ 532{
533 return v4_peers.total + v6_peers.total; 533 return v4_peers.total + v6_peers.total;
534} 534}
535EXPORT_SYMBOL_GPL(inet_getpeer);
535 536
536/* Called with local BH disabled. */ 537/* Called with local BH disabled. */
537static void peer_check_expire(unsigned long dummy) 538static void peer_check_expire(unsigned long dummy)
@@ -577,3 +578,4 @@ void inet_putpeer(struct inet_peer *p)
577 578
578 local_bh_enable(); 579 local_bh_enable();
579} 580}
581EXPORT_SYMBOL_GPL(inet_putpeer);