Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 369350
b: refs/heads/master
c: cf2c014
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Apr 21, 2013
1 parent e855715 commit c25d591
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 95a06161e6b903ad5b96285cb57c8df3b7c8ad34
refs/heads/master: cf2c014adef10c75af7042f38e74adb91d7bff6c
7 changes: 4 additions & 3 deletions trunk/net/8021q/vlan_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,11 @@ EXPORT_SYMBOL(vlan_untag);

static void vlan_group_free(struct vlan_group *grp)
{
int i;
int i, j;

for (i = 0; i < VLAN_GROUP_ARRAY_SPLIT_PARTS; i++)
kfree(grp->vlan_devices_arrays[i]);
for (i = 0; i < VLAN_PROTO_NUM; i++)
for (j = 0; j < VLAN_GROUP_ARRAY_SPLIT_PARTS; j++)
kfree(grp->vlan_devices_arrays[i][j]);
}

static void vlan_info_free(struct vlan_info *vlan_info)
Expand Down

0 comments on commit c25d591

Please sign in to comment.