Thread (4 messages) flat view 4 messages, 3 authors, 2012-02-04

Re: [PATCH] tcp_v4_send_reset: binding oif to iif in no sock case

From: David Miller <davem@davemloft.net>
Date: 2012-02-04 21:47:12

Possibly related (same subject, not in this thread)

From: Shawn Lu <redacted>
Date: Sat, 4 Feb 2012 13:44:57 -0800
Binding RST packet outgoing interface to incoming interface
for tcp v4 when there is no socket associate with it.
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 <redacted>
Sigh...

Thanks for giving Eric not credit whatsoever for his contributions
and feedback for this fix. :-/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help