summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVeaceslav Falico2013-09-25 09:20:30 +0200
committerDavid S. Miller2013-09-26 22:02:07 +0200
commit47701a36a3ed6d97e5bbe7ad72cceb49ca329d00 (patch)
treec68b34b9a1449707de0a9c66239ad6919810cf2f /drivers
parentvlan: link the upper neighbour only after registering (diff)
downloadkernel-qcow2-linux-47701a36a3ed6d97e5bbe7ad72cceb49ca329d00.tar.gz
kernel-qcow2-linux-47701a36a3ed6d97e5bbe7ad72cceb49ca329d00.tar.xz
kernel-qcow2-linux-47701a36a3ed6d97e5bbe7ad72cceb49ca329d00.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions