From: Veaceslav Falico Date: Wed, 25 Sep 2013 07:20:30 +0000 (+0200) Subject: vlan: unlink the upper neighbour before unregistering X-Git-Tag: v3.13-rc1~105^2~309^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47701a36a3ed6d97e5bbe7ad72cceb49ca329d00;p=pandora-kernel.git 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 CC: "David S. Miller" Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed