]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
vlan: Move device unregistration before lower dev cleanup
authorPatrick McHardy <kaber@trash.net>
Sun, 6 Jul 2008 04:26:41 +0000 (21:26 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Jul 2008 04:26:41 +0000 (21:26 -0700)
commitce305002e1c9b90c2c151ce18bab0b895dd55ae6
treedce98db82836d00cc45db667ada6b77a86724f13
parentb3ce0325f2bf1bb737cb8fc7c349ce8fefdd9e40
vlan: Move device unregistration before lower dev cleanup

Move the unregister_netdevice() call for the VLAN device before cleanup
for the lower device. This is needed by GVRP so it can send a leave
message before the applicant on the lower device is cleaned up.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/8021q/vlan.c