ipv4: RCU conversion of ip_route_input_slow/ip_route_input_mc
commit96d362202bfc0e5da78ee59b1645296fbca515f4
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 2 Jun 2010 19:21:31 +0000 (2 19:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:18:19 +0000 (3 03:18 -0700)
treece3cc34d9a75f8c5d91ea9eb711993657d32af77
parentb5f7e7554753e2cc3ef3bef0271fdb32027df2ba
ipv4: RCU conversion of ip_route_input_slow/ip_route_input_mc

Avoid two atomic ops on struct in_device refcount per incoming packet,
if slow path taken, (or route cache disabled)

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