aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/8021q/vlan.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index f2bee234d361..3fe4fc86055f 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -331,6 +331,9 @@ static int vlan_dev_init(struct net_device *dev)
331 (1<<__LINK_STATE_DORMANT))) | 331 (1<<__LINK_STATE_DORMANT))) |
332 (1<<__LINK_STATE_PRESENT); 332 (1<<__LINK_STATE_PRESENT);
333 333
334 /* ipv6 shared card related stuff */
335 dev->dev_id = real_dev->dev_id;
336
334 if (is_zero_ether_addr(dev->dev_addr)) 337 if (is_zero_ether_addr(dev->dev_addr))
335 memcpy(dev->dev_addr, real_dev->dev_addr, dev->addr_len); 338 memcpy(dev->dev_addr, real_dev->dev_addr, dev->addr_len);
336 if (is_zero_ether_addr(dev->broadcast)) 339 if (is_zero_ether_addr(dev->broadcast))