X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=net%2Fipv6%2Ftcp_ipv6.c;h=e289830ed6e35a3be4feda700b5b6789dac20292;hb=dcfba949ba4ff90f5a7ff2942a4c86f9e2ba345d;hp=5ca56cee2dae06830683927658397f6b7a23ecd4;hpb=53c566625fb872e7826a237f0f5c21458028e94a;p=sfrench%2Fcifs-2.6.git diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 5ca56cee2dae..e289830ed6e3 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -798,7 +798,7 @@ static void tcp_v6_send_response(struct sk_buff *skb, u32 seq, u32 ack, u32 win, __tcp_v6_send_check(buff, &fl6.saddr, &fl6.daddr); fl6.flowi6_proto = IPPROTO_TCP; - if (rt6_need_strict(&fl6.daddr) || !oif) + if (rt6_need_strict(&fl6.daddr) && !oif) fl6.flowi6_oif = inet6_iif(skb); else fl6.flowi6_oif = oif;