aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/8021q/vlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index afba51e60310..a292e8050ef2 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -242,6 +242,7 @@ static int register_vlan_device(struct net_device *real_dev, u16 vlan_id)
242 * hope the underlying device can handle it. 242 * hope the underlying device can handle it.
243 */ 243 */
244 new_dev->mtu = real_dev->mtu; 244 new_dev->mtu = real_dev->mtu;
245 new_dev->priv_flags |= (real_dev->priv_flags & IFF_UNICAST_FLT);
245 246
246 vlan_dev_priv(new_dev)->vlan_id = vlan_id; 247 vlan_dev_priv(new_dev)->vlan_id = vlan_id;
247 vlan_dev_priv(new_dev)->real_dev = real_dev; 248 vlan_dev_priv(new_dev)->real_dev = real_dev;