Searched hist:"47701 a36a3ed6d97e5bbe7ad72cceb49ca329d00" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/8021q/ |
H A D | vlan.c | diff 47701a36a3ed6d97e5bbe7ad72cceb49ca329d00 Wed Sep 25 02:20:30 CDT 2013 Veaceslav Falico <vfalico@redhat.com> vlan: unlink the upper neighbour before unregistering
On netdev unregister we're removing also all of its sysfs-associated stuff, including the sysfs symlinks that are controlled by netdev neighbour code. Also, it's a subtle race condition - cause we can still access it after unregistering.
Move the unlinking right before the unregistering to fix both.
CC: Patrick McHardy <kaber@trash.net> CC: "David S. Miller" <davem@davemloft.net> Signed-off-by: Veaceslav Falico <vfalico@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|