summaryrefslogtreecommitdiffstats
path: root/net/ipv6/sit.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-08-28 23:52:01 -0700
committerDavid S. Miller <davem@davemloft.net>2009-08-28 23:52:01 -0700
commit30038fc61adfdab162b1966e34261f06eda67f02 (patch)
treec9266e5d3c54c7a9a4b17bd68b28b24d629249b2 /net/ipv6/sit.c
parentdf19a6267705456f463871ae2aabc44299909d2a (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/ipv6/sit.c')
0 files changed, 0 insertions, 0 deletions