Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103256
b: refs/heads/master
c: ce30500
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jul 6, 2008
1 parent a88f34a commit c6c921d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3ce0325f2bf1bb737cb8fc7c349ce8fefdd9e40
refs/heads/master: ce305002e1c9b90c2c151ce18bab0b895dd55ae6
4 changes: 2 additions & 2 deletions trunk/net/8021q/vlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ void unregister_vlan_dev(struct net_device *dev)

synchronize_net();

unregister_netdevice(dev);

/* If the group is now empty, kill off the group. */
if (grp->nr_vlans == 0) {
if (real_dev->features & NETIF_F_HW_VLAN_RX)
Expand All @@ -178,8 +180,6 @@ void unregister_vlan_dev(struct net_device *dev)

/* Get rid of the vlan's reference to real_dev */
dev_put(real_dev);

unregister_netdevice(dev);
}

static void vlan_transfer_operstate(const struct net_device *dev,
Expand Down

0 comments on commit c6c921d

Please sign in to comment.