Page MenuHomeFreeBSD

D55844.diff
No OneTemporary

D55844.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
Fri, Jun 26, 3:52 PM (14 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34361915
Default Alt Text
D55844.diff (607 B)

Event Timeline