ipv6: tcp_ipv6 policy route issue
authorWang Yufen <wangyufen@huawei.com>
Sat, 29 Mar 2014 01:27:31 +0000 (09:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Mar 2014 20:16:17 +0000 (16:16 -0400)
commit9c76a114bbef10b4d44bd258006721dd896695dd
tree80bfaa0186b18425cf1db6dc6a7cc81d09b54a2f
parent60ea37f7a5c776be4631c535c7cdd3ce62cf4dee
ipv6: tcp_ipv6 policy route issue

The issue raises when adding policy route, specify a particular
NIC as oif, the policy route did not take effect. The reason is
that fl6.oif is not set and route map failed. From the
tcp_v6_send_response function, if the binding address is linklocal,
fl6.oif is set, but not for global address.

Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Wang Yufen <wangyufen@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c