]> err.no Git - linux-2.6/commitdiff
[IPV6]: small cleanups
authorAdrian Bunk <bunk@stusta.de>
Sat, 7 Jan 2006 21:24:25 +0000 (13:24 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Jan 2006 21:24:25 +0000 (13:24 -0800)
This patch contains the following cleanups:
- addrconf.c: make addrconf_dad_stop() static
- inet6_connection_sock.c should #include <net/inet6_connection_sock.h>
  for getting the prototypes of it's global functions

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c
net/ipv6/inet6_connection_sock.c

index 704fb73e6c5ff35f83147a96a84fe45be40d471b..e53e421eeee94b3ecdb842ccd4b1d0d24c4c3b58 100644 (file)
@@ -1228,7 +1228,7 @@ int ipv6_rcv_saddr_equal(const struct sock *sk, const struct sock *sk2)
 
 /* Gets referenced address, destroys ifaddr */
 
-void addrconf_dad_stop(struct inet6_ifaddr *ifp)
+static void addrconf_dad_stop(struct inet6_ifaddr *ifp)
 {
        if (ifp->flags&IFA_F_PERMANENT) {
                spin_lock_bh(&ifp->lock);
index 792f90f0f9ece287c0d94a2fbfdf7073c09e7aff..f8f3a37a14948f4d291ba85cac267b33ebdf3079 100644 (file)
@@ -25,6 +25,7 @@
 #include <net/inet_hashtables.h>
 #include <net/ip6_route.h>
 #include <net/sock.h>
+#include <net/inet6_connection_sock.h>
 
 int inet6_csk_bind_conflict(const struct sock *sk,
                            const struct inet_bind_bucket *tb)