]> git.karo-electronics.de Git - karo-tx-linux.git/commit
garp: remove one synchronize_rcu() call
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 9 May 2011 03:35:55 +0000 (03:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 May 2011 18:41:40 +0000 (11:41 -0700)
commitda37e368763f708d2ae5a81e61ec59372b831cf5
tree0ee4b0509caca004aee6a69000d69d67c8bc0eef
parent226bd3411471af42f7edbdfaf73f2d54ebb62a66
garp: remove one synchronize_rcu() call

Speedup vlan dismantling in CONFIG_VLAN_8021Q_GVRP=y cases,
by using a call_rcu() to free the memory instead of waiting with
expensive synchronize_rcu() [ while RTNL is held ]

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Ben Greear <greearb@candelatech.com>
Cc: Patrick McHardy <kaber@trash.net>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/garp.h
net/802/garp.c