Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135789524
D28860.id84541.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
711 B
Referenced Files
None
Subscribers
None
D28860.id84541.diff
View Options
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1479,6 +1479,10 @@
static void
arp_iflladdr(void *arg __unused, struct ifnet *ifp)
{
+ /* if_bridge can update its lladdr during if_vmove(), after we've done
+ * if_detach_internal()/dom_ifdetach(). */
+ if (ifp->if_afdata[AF_INET] == NULL)
+ return;
lltable_update_ifaddr(LLTABLE(ifp));
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -208,6 +208,8 @@
static void
nd6_iflladdr(void *arg __unused, struct ifnet *ifp)
{
+ if (ifp->if_afdata[AF_INET6] == NULL)
+ return;
lltable_update_ifaddr(LLTABLE6(ifp));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 13, 9:43 PM (43 m, 30 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25267111
Default Alt Text
D28860.id84541.diff (711 B)
Attached To
Mode
D28860: arp/nd: Cope with late calls to iflladdr_event
Attached
Detach File
Event Timeline
Log In to Comment