Re: [PATCH] net: tcp response should set oif only if it is L3 master

2016-11-09 Thread David Miller
From: David Ahern Date: Wed, 9 Nov 2016 09:07:26 -0800 > Lorenzo noted an Android unit test failed due to e0d56fdd7342: > "The expectation in the test was that the RST replying to a SYN sent to a > closed port should be generated with oif=0. In other words it should not > prefer the interface wh

Re: [PATCH] net: tcp response should set oif only if it is L3 master

2016-11-09 Thread Lorenzo Colitti
On Thu, Nov 10, 2016 at 2:07 AM, David Ahern wrote: > Revert the change to ip_send_unicast_reply and tcp_v6_send_response such > that the oif in the flow is set to the skb_iif only if skb_iif is an L3 > master. This fixes the IPv4 and IPv6 tests, thanks! Tested-by: Lorenzo Colitti Acked-by: Lor

[PATCH] net: tcp response should set oif only if it is L3 master

2016-11-09 Thread David Ahern
Lorenzo noted an Android unit test failed due to e0d56fdd7342: "The expectation in the test was that the RST replying to a SYN sent to a closed port should be generated with oif=0. In other words it should not prefer the interface where the SYN came in on, but instead should follow whatever the rou