ipv4: avoid two atomic ops in ip_rt_redirect()
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 8 Jun 2010 04:49:44 +0000 (21:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jun 2010 04:49:44 +0000 (21:49 -0700)
in_dev_get() -> __in_dev_get_rcu() in a rcu protected function.

[ Fix build with CONFIG_IP_ROUTE_VERBOSE disabled. -DaveM ]

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

No differences found