Date: Sun, 21 Oct 2018 06:19:58 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 227654] [panic] repeatable crash with lagg+vlan+em Message-ID: <bug-227654-7501-CECwgW4hSm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-227654-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-227654-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227654 Kristof Provost <kp@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kp@freebsd.org --- Comment #6 from Kristof Provost <kp@freebsd.org> --- This should fix it: diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index b75a62c16b3..79ef2422600 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -1302,8 +1302,13 @@ vlan_lladdr_fn(void *arg, int pending __unused) ifv =3D (struct ifvlan *)arg; ifp =3D ifv->ifv_ifp; + + CURVNET_SET(ifp->if_vnet); + /* The ifv_ifp already has the lladdr copied in. */ if_setlladdr(ifp, IF_LLADDR(ifp), ifp->if_addrlen); + + CURVNET_RESTORE(); } static int --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227654-7501-CECwgW4hSm>