diff options
author | ae <ae@FreeBSD.org> | 2015-05-29 10:24:16 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2015-05-29 10:24:16 +0000 |
commit | a1e13e9e590c569e31b8bf4ccd7679b392a2d815 (patch) | |
tree | e0b0601778939b6f8fee8236a2699c8a45ea70fb /sys/netinet6/nd6.c | |
parent | 3a4c3ed84fbd303c0b76173fe4691ac663da9f2e (diff) | |
download | FreeBSD-src-a1e13e9e590c569e31b8bf4ccd7679b392a2d815.zip FreeBSD-src-a1e13e9e590c569e31b8bf4ccd7679b392a2d815.tar.gz |
Move RTM announces into generic code to be independent from Layer2 code.
This fixes bug introduced in 274988, when announces about new addresses
don't sent for tunneling interfaces.
Reported by: tuexen@
MFC after: 1 week
Diffstat (limited to 'sys/netinet6/nd6.c')
-rw-r--r-- | sys/netinet6/nd6.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c index 83dda1a..daac188 100644 --- a/sys/netinet6/nd6.c +++ b/sys/netinet6/nd6.c @@ -2185,7 +2185,6 @@ nd6_add_ifa_lle(struct in6_ifaddr *ia) ln->la_expire = 0; /* for IPv6 this means permanent */ ln->ln_state = ND6_LLINFO_REACHABLE; LLE_WUNLOCK(ln); - in6_newaddrmsg(ia, RTM_ADD); return (0); } @@ -2205,8 +2204,6 @@ nd6_rem_ifa_lle(struct in6_ifaddr *ia) struct sockaddr_in6 mask, addr; struct ifnet *ifp; - in6_newaddrmsg(ia, RTM_DELETE); - ifp = ia->ia_ifa.ifa_ifp; memcpy(&addr, &ia->ia_addr, sizeof(ia->ia_addr)); memcpy(&mask, &ia->ia_prefixmask, sizeof(ia->ia_prefixmask)); |