Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168764
b: refs/heads/master
c: 6b863d1
h: refs/heads/master
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Nov 17, 2009
1 parent bb7c4d8 commit 8e8f13e
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 69c0cab120a85471054614418b447349caba22d7
refs/heads/master: 6b863d1d3239eff0f45c2e6e672f5b56db828db0
7 changes: 5 additions & 2 deletions trunk/net/8021q/vlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,11 @@ int register_vlan_dev(struct net_device *dev)
if (ngrp)
vlan_gvrp_uninit_applicant(real_dev);
out_free_group:
if (ngrp)
vlan_group_free(ngrp);
if (ngrp) {
hlist_del_rcu(&ngrp->hlist);
/* Free the group, after all cpu's are done. */
call_rcu(&ngrp->rcu, vlan_rcu_free);
}
return err;
}

Expand Down

0 comments on commit 8e8f13e

Please sign in to comment.