Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312019
b: refs/heads/master
c: efc73f4
h: refs/heads/master
i:
  312017: a4509e3
  312015: 43bf77a
v: v3
  • Loading branch information
Amir Hanania authored and David S. Miller committed Jul 11, 2012
1 parent 2ee8a45 commit 0a5fab1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 941a46a29c9388f9cef518fa3498329fb55badca
refs/heads/master: efc73f4bbc238d4f579fb612c04c8e1dd8a82979
3 changes: 3 additions & 0 deletions trunk/net/8021q/vlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,
break;

case NETDEV_DOWN:
if (dev->features & NETIF_F_HW_VLAN_FILTER)
vlan_vid_del(dev, 0);

/* Put all VLANs for this dev in the down state too. */
for (i = 0; i < VLAN_N_VID; i++) {
vlandev = vlan_group_get_device(grp, i);
Expand Down

0 comments on commit 0a5fab1

Please sign in to comment.