diff options
author | Patrick McHardy <kaber@trash.net> | 2009-10-29 23:43:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-29 23:43:00 -0700 |
commit | 29906f6a427d2004a515ebbcdc7b28bae8f6c19c (patch) | |
tree | 12749e2d6afd82ec9c1b40aa08d012a5d4709cc6 /drivers/net/veth.c | |
parent | f0816ce39d8de7646301aac52cc7351a2424d97f (diff) | |
download | op-kernel-dev-29906f6a427d2004a515ebbcdc7b28bae8f6c19c.zip op-kernel-dev-29906f6a427d2004a515ebbcdc7b28bae8f6c19c.tar.gz |
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>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions