[Bug 234846] [lagg] race condition when adding port
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jan 23 09:22:05 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234846
--- Comment #19 from Alexandre martins <alexandre.martins at 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 = NULL;
Thread 1 (network):
is entering lagg_input function and crash because the pointer if_lagg is now
NULL
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list