Shawn Lu
e2446eaab5
tcp_v4_send_reset: binding oif to iif in no sock case
...
Binding RST packet outgoing interface to incoming interface
for tcp v4 when there is no socket associate with it.
when sk is not NULL, using sk->sk_bound_dev_if instead.
(suggested by Eric Dumazet).
This has few benefits:
1. tcp_v6_send_reset already did that.
2. This helps tcp connect with SO_BINDTODEVICE set. When
connection is lost, we still able to sending out RST using
same interface.
3. we are sending reply, it is most likely to be succeed
if iif is used
Signed-off-by: Shawn Lu <shawn.lu@ericsson.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-04 18:20:05 -05:00
..
2012-01-14 18:36:33 -08:00
2011-12-12 19:04:11 -05:00
2011-11-12 18:13:32 -05:00
2011-12-28 15:06:58 -05:00
2011-10-11 18:43:53 -04:00
2011-05-08 13:48:57 -07:00
2012-01-12 12:26:56 -08:00
2011-04-22 11:04:14 -07:00
2011-06-09 20:38:07 -07:00
2011-03-24 18:06:47 -07:00
2011-12-04 22:43:33 +01:00
2011-09-16 17:42:26 -04:00
2012-01-12 12:26:56 -08:00
2011-08-02 04:29:23 -07:00
2011-10-13 16:05:07 -04:00
2012-01-12 12:26:56 -08:00
2012-01-25 21:50:43 -05:00
2012-01-11 12:56:06 -08:00
2010-07-12 12:57:54 -07:00
2011-08-06 18:33:19 -07:00
2011-10-19 03:10:46 -04:00
2011-10-31 19:30:28 -04:00
2012-01-17 15:52:12 -05:00
2011-11-23 19:19:32 -05:00
2011-12-02 14:57:31 +01:00
2012-01-26 16:34:08 -05:00
2011-06-21 20:33:34 -07:00
2011-11-23 19:19:32 -05:00
2011-12-05 15:20:19 -05:00
2011-12-11 18:25:16 -05:00
2011-04-22 11:04:14 -07:00
2012-01-17 10:31:12 -05:00
2012-01-12 12:26:56 -08:00
2012-01-12 12:26:56 -08:00
2012-01-09 14:46:52 -08:00
2011-12-12 19:04:10 -05:00
2011-11-21 18:46:18 +01:00
2012-01-17 10:31:12 -05:00
2012-01-22 15:08:44 -05:00
2010-10-27 11:37:31 -07:00
2011-11-18 14:37:08 -05:00
2011-12-23 17:13:56 -05:00
2011-12-21 01:03:23 -05:00
2012-02-02 14:34:41 -05:00
2012-01-20 14:17:26 -05:00
2011-11-29 00:29:41 -05:00
2012-01-20 14:17:26 -05:00
2012-01-11 12:56:06 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2012-01-22 15:08:44 -05:00
2012-02-04 18:20:05 -05:00
2011-03-31 11:26:23 -03:00
2012-01-12 12:27:59 -08:00
2011-12-11 18:25:16 -05:00
2012-01-30 12:42:58 -05:00
2010-11-17 12:27:46 -08:00
2011-03-10 00:40:17 -08:00
2012-02-01 14:41:50 -05:00
2011-03-10 00:40:17 -08:00
2007-07-31 02:27:57 -07:00
2011-03-10 00:40:17 -08:00
2011-03-10 00:40:17 -08:00
2011-03-31 11:26:23 -03:00
2012-02-02 14:34:41 -05:00
2011-12-11 18:25:16 -05:00
2012-01-17 10:31:12 -05:00
2009-09-30 16:12:20 -07:00
2011-12-09 14:14:08 -05:00
2011-11-06 19:44:47 -08:00
2010-07-12 12:57:54 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2010-12-12 22:08:17 -08:00
2011-07-01 17:33:19 -07:00
2011-10-24 03:01:22 -04:00
2011-10-31 19:30:30 -04:00
2011-12-11 18:25:16 -05:00