Eric Dumazet 30038fc61a 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>
2009-08-28 23:52:01 -07:00
..
2009-05-25 01:53:53 -07:00
2009-08-05 10:42:58 -07:00
2009-08-28 23:41:43 -07:00
2009-05-25 01:53:53 -07:00
2009-08-19 23:08:24 +04:00
2009-08-13 16:43:32 -07:00
2009-07-12 12:22:34 -07:00
2009-08-05 10:42:58 -07:00
2009-07-23 18:01:10 -07:00
2009-08-04 16:44:23 -04:00
2009-08-05 10:42:58 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 14:03:27 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00