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-Tag: upstream/snapshot3+hdmi~26303^2~229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1ec1b8ccdf0df6000faa8c2d985ca5f94157e5a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.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 694be86,b33410a..5975ec3 --- 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;