]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: RCU conversion of ip_route_input_slow/ip_route_input_mc
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 2 Jun 2010 19:21:31 +0000 (19:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jun 2010 10:18:19 +0000 (03:18 -0700)
commite86510296ebf0ea2b75ccbda5c1249bdb4ec865f
treece3cc34d9a75f8c5d91ea9eb711993657d32af77
parent832f67a400b1ef9f5c7564833c3571bf95a4759f
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