diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-08-29 02:52:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-29 02:52:01 -0400 |
commit | 30038fc61adfdab162b1966e34261f06eda67f02 (patch) | |
tree | c9266e5d3c54c7a9a4b17bd68b28b24d629249b2 /net/dccp | |
parent | df19a6267705456f463871ae2aabc44299909d2a (diff) |
net: ip_rt_send_redirect() optimization
While doing some forwarding benchmarks, I noticed
ip_rt_send_redirect() is rather expensive, even if send_redirects is
false for the device.
Fix is to avoid two atomic ops, we dont really need to take a
reference on in_dev
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp')
0 files changed, 0 insertions, 0 deletions