vlan: Correctly handle device notifications for layered VLAN devices

Commit 30688a9 ([VLAN]: Handle vlan devices net namespace changing)
changed the device notifier to special-case notifications for VLAN
devices, effectively disabling state propagation to underlying VLAN
devices. This is needed for layered VLANs though, so restore the
original behaviour.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Patrick McHardy and committed by
David S. Miller
81d85346 0e91796e

+1 -3
+1 -3
net/8021q/vlan.c
··· 410 410 int i, flgs; 411 411 struct net_device *vlandev; 412 412 413 - if (is_vlan_dev(dev)) { 413 + if (is_vlan_dev(dev)) 414 414 __vlan_device_event(dev, event); 415 - goto out; 416 - } 417 415 418 416 grp = __vlan_find_group(dev); 419 417 if (!grp)