X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fif_vlan.h;h=420767fcb3c96a07fbd859f074d9f68c219e04fd;hb=9bf4aaab3e101692164d49b7ca357651eb691cb6;hp=46d246bac3bfbcf23c1cd8dab8aaaa1f5b5b5f81;hpb=db216c3d5e4c040e557a50f8f5d35d5c415e8c1c;p=linux-2.6.git diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h index 46d246bac..420767fcb 100644 --- a/include/linux/if_vlan.h +++ b/include/linux/if_vlan.h @@ -22,6 +22,7 @@ struct sk_buff; struct packet_type; struct vlan_collection; struct vlan_dev_info; +struct hlist_node; #include /* for proc_dir_entry */ #include @@ -67,9 +68,9 @@ extern void vlan_ioctl_set(int (*hook)(void __user *)); struct vlan_group { int real_dev_ifindex; /* The ifindex of the ethernet(like) device the vlan is attached to. */ + struct hlist_node hlist; /* linked list */ struct net_device *vlan_devices[VLAN_GROUP_ARRAY_LEN]; - - struct vlan_group *next; /* the next in the list */ + struct rcu_head rcu; }; struct vlan_priority_tci_mapping {