From: David S. Miller Date: Thu, 3 Apr 2008 05:35:23 +0000 (-0700) Subject: Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a;p=openwrt%2Fstaging%2Fblogic.git Merge branch 'master' of git://git./linux/kernel/git/davem/net-2.6 Conflicts: drivers/net/s2io.c --- e1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a diff --cc net/8021q/vlan.c index 694be86e4490,b33410abfd6b..5975ec3be7f3 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c @@@ -392,9 -394,15 +404,15 @@@ static int vlan_device_event(struct not int i, flgs; struct net_device *vlandev; - if (dev->nd_net != &init_net) + if (dev_net(dev) != &init_net) return NOTIFY_DONE; + if (is_vlan_dev(dev)) { + __vlan_device_event(dev, event); + goto out; + } + + grp = __vlan_find_group(dev->ifindex); if (!grp) goto out;