diff options
Diffstat (limited to 'net/8021q/vlan.c')
-rw-r--r-- | net/8021q/vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c index dbc81b965096..c35dc230365c 100644 --- a/net/8021q/vlan.c +++ b/net/8021q/vlan.c | |||
@@ -382,7 +382,7 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event, | |||
382 | int i, flgs; | 382 | int i, flgs; |
383 | struct net_device *vlandev; | 383 | struct net_device *vlandev; |
384 | 384 | ||
385 | if (dev->nd_net != &init_net) | 385 | if (dev_net(dev) != &init_net) |
386 | return NOTIFY_DONE; | 386 | return NOTIFY_DONE; |
387 | 387 | ||
388 | if (!grp) | 388 | if (!grp) |