OpenCloudOS-Kernel/net/8021q
Patrick McHardy 29906f6a42 vlan: cleanup multiple unregistrations
The temporary copy of the VLAN group is not neccessary since the lower device
is already in the process of being unregistered, if it was neccessary the
memset of the global group would introduce a race condition.

With this removed, the changes to the original code are only a few lines, so
remove the new function and move the code back into vlan_device_event().

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-29 23:43:00 -07:00
..
Kconfig vlan: Add GVRP support 2008-07-05 21:26:57 -07:00
Makefile vlan: uninline __vlan_hwaccel_rx 2008-07-08 03:23:36 -07:00
vlan.c vlan: cleanup multiple unregistrations 2009-10-29 23:43:00 -07:00
vlan.h net: add a list_head parameter to dellink() method 2009-10-28 02:22:07 -07:00
vlan_core.c gro: Change all receive functions to return GRO result codes 2009-10-29 21:36:53 -07:00
vlan_dev.c vlan: Add support to netdev_ops.ndo_fcoe_get_wwn for VLAN device 2009-10-29 01:04:04 -07:00
vlan_gvrp.c vlan: TCI related type and naming cleanups 2008-07-08 03:24:44 -07:00
vlan_netlink.c net: fix vlan_get_size to include vlan_flags size 2009-09-26 20:16:07 -07:00
vlanproc.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
vlanproc.h [VLAN]: Add a net argument to proc init and cleanup calls. 2008-04-16 00:51:12 -07:00