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)
commit816db3f2e484f83de6c823181b0d215795725236
tree80bfaa0186b18425cf1db6dc6a7cc81d09b54a2f
parente4379035f0559d47c345c91748d97e7da4889df7
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