fib: remove a useless synchronize_rcu() call
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 13 Oct 2010 04:43:04 +0000 (04:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Oct 2010 18:13:22 +0000 (11:13 -0700)
commita0a4a85a15df6335e3d11f83b2ac06ebebea313f
treef4b09caa75228520d8631dc4e0c5ce1953ec6461
parent2c1c00040af3d187b7d602dd53b5adbbf3a4caa4
fib: remove a useless synchronize_rcu() call

fib_nl_delrule() calls synchronize_rcu() for no apparent reason,
while rtnl is held.

I suspect it was done to avoid an atomic_inc_not_zero() in
fib_rules_lookup(), which commit 7fa7cb7109d07 added anyway.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/fib_rules.c