Re: [PATCH net-next] net/ipv6: update flowi6_oif in ip6_dst_lookup_flow if not set

2015-07-20 Thread David Miller
From: Phil Sutter Date: Wed, 15 Jul 2015 21:56:26 +0200 > Newly created flows don't have flowi6_oif set (at least if the > associated socket is not interface-bound). This leads to a mismatch in > __xfrm6_selector_match() for policies which specify an interface in the > selector (sel->ifindex != 0

[PATCH net-next] net/ipv6: update flowi6_oif in ip6_dst_lookup_flow if not set

2015-07-15 Thread Phil Sutter
Newly created flows don't have flowi6_oif set (at least if the associated socket is not interface-bound). This leads to a mismatch in __xfrm6_selector_match() for policies which specify an interface in the selector (sel->ifindex != 0). Backtracing shows this happens in code-paths originating from