Page MenuHomeFreeBSD

D55844.id173650.diff
No OneTemporary

D55844.id173650.diff

diff --git a/sys/netinet6/nd6_nbr.c b/sys/netinet6/nd6_nbr.c
--- a/sys/netinet6/nd6_nbr.c
+++ b/sys/netinet6/nd6_nbr.c
@@ -1669,8 +1669,8 @@
{
struct nd_queue *ndq = arg;
struct ifaddr *ifa = ndq->ndq_ifa;
- struct ifnet *ifp = ifa->ifa_ifp;
- struct in6_ifextra *ext = ifp->if_inet6;
+ struct ifnet *ifp;
+ struct in6_ifextra *ext;
struct in6_addr daddr;
struct epoch_tracker et;
int delay, tlladdr;
@@ -1678,6 +1678,8 @@
KASSERT(ifa != NULL, ("ND6 queue entry %p with no address", ndq));
+ ifp = ifa->ifa_ifp;
+ ext = ifp->if_inet6;
CURVNET_SET(ifp->if_vnet);
NET_EPOCH_ENTER(et);

File Metadata

Mime Type
text/plain
Expires
Sun, Aug 23, 9:59 AM (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37131844
Default Alt Text
D55844.id173650.diff (607 B)

Event Timeline