]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/8021q/vlan.c
vlan: Correctly handle device notifications for layered VLAN devices
[linux-2.6-omap-h63xx.git] / net / 8021q / vlan.c
index 2a739adaa92b9886063ac4e6b1ce60f9730bddec..b934159a6f07f4dc5c727c130ac862ee53489d1f 100644 (file)
@@ -410,10 +410,8 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
        int i, flgs;
        struct net_device *vlandev;
 
-       if (is_vlan_dev(dev)) {
+       if (is_vlan_dev(dev))
                __vlan_device_event(dev, event);
-               goto out;
-       }
 
        grp = __vlan_find_group(dev);
        if (!grp)