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-06-29 14:07:56 +02:00
2009-08-28 23:45:21 -07:00
2008-11-25 17:59:27 -08:00
2009-07-30 13:27:29 -07:00
2009-03-28 15:01:36 +11:00
2008-07-16 20:20:11 -07:00
2009-05-18 22:15:58 -07:00
2008-11-25 17:59:27 -08:00
2009-05-18 15:16:38 -07:00
2009-05-18 15:16:37 -07:00
2009-05-18 15:16:37 -07:00
2009-05-20 17:26:23 -07:00
2009-05-18 15:16:37 -07:00
2009-08-05 10:42:58 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-02-01 12:31:33 -08:00
2009-06-18 00:29:12 -07:00
2009-02-26 23:13:35 -08:00
2009-02-01 12:31:33 -08:00
2008-11-19 15:44:53 -08:00
2009-06-16 13:09:51 -07:00
2008-11-03 00:23:42 -08:00
2009-06-03 02:51:04 -07:00
2009-06-09 00:19:37 -07:00
2009-07-16 20:21:24 -07:00
2009-06-26 19:22:37 -07:00
2009-06-03 02:51:04 -07:00
2009-07-11 20:26:21 -07:00
2009-06-03 02:51:02 -07:00
2008-11-25 17:30:50 -08:00
2009-05-19 15:36:17 -07:00
2009-07-05 19:16:04 -07:00
2009-07-05 19:16:04 -07:00
2009-06-13 23:36:32 -07:00
2008-10-07 08:38:24 +11:00
2009-06-03 02:51:04 -07:00
2009-04-27 02:45:02 -07:00
2008-06-11 21:00:38 -07:00
2009-06-18 00:29:12 -07:00
2009-08-28 23:52:01 -07:00
2009-04-20 02:25:26 -07:00
2008-11-03 18:21:05 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2008-11-19 15:43:27 -08:00
2008-01-28 14:55:41 -08:00
2009-03-02 03:00:14 -08:00
2008-10-07 15:58:17 -07:00
2008-01-28 14:55:41 -08:00
2009-05-29 15:02:29 -07:00
2009-07-20 07:49:08 -07:00
2008-01-28 14:55:41 -08:00
2009-06-25 20:03:15 -07:00
2009-07-23 19:03:51 -07:00
2009-03-13 16:05:14 -07:00
2009-03-02 03:00:15 -08:00
2009-08-28 23:48:54 -07:00
2009-05-25 22:44:59 -07:00
2007-07-31 02:27:57 -07:00
2009-03-02 03:00:15 -08:00
2007-07-31 02:27:57 -07:00
2009-03-02 03:00:15 -08:00
2009-08-28 23:48:54 -07:00
2008-06-05 04:02:33 +09:00
2008-10-29 01:41:45 -07:00
2009-07-17 09:47:31 -07:00
2008-10-29 02:11:14 -07:00
2009-06-03 02:51:04 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-08-04 20:18:33 -07:00
2008-11-25 01:05:54 -08:00
2008-01-31 19:27:24 -08:00