commit | ed7865a47d4759e85bbd7bed44bee411d868eaad | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Mon Jun 07 21:49:44 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 07 21:49:44 2010 -0700 |
tree | f0d2bd7d1f6c2c9d962baf84d2041a5b8c1c6b64 | |
parent | 9a57a9d291980302b4a3184fbc47dbddac71903e [diff] |
ipv4: avoid two atomic ops in ip_rt_redirect() 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>