Date: Wed, 23 Jan 2019 09:22:02 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 234846] [lagg] race condition when adding port Message-ID: <bug-234846-7501-5xY93R8F2C@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-234846-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-234846-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=3D234846 --- Comment #19 from Alexandre martins <alexandre.martins@stormshield.eu> -= -- Hi Eugene, The patch seems to work for the creation part. However, the race into the destroy part is still here: Thread 1 (network): ether_input checks the type of the interface and will call lagg_input Thread 2 (ifconfig -laggport): delete the port, and resets the type of the iface and set ifp->if_lagg =3D = NULL; Thread 1 (network): is entering lagg_input function and crash because the pointer if_lagg is now NULL --=20 You are receiving this mail because: 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-234846-7501-5xY93R8F2C>