]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: fix inet6_csk_route_req() for link-local addresses
authorNeal Cardwell <ncardwell@google.com>
Thu, 28 Jun 2012 12:34:18 +0000 (12:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2012 00:53:50 +0000 (17:53 -0700)
commit44985d73a5eb0ca8c1544bb2d997dd941585113d
tree4aed0fbf868883f876273d088dba63e1a4956e67
parent23d0c5ef5c59941a637773b13dd28b4b02f37e19
tcp: fix inet6_csk_route_req() for link-local addresses

Fix inet6_csk_route_req() to use as the flowi6_oif the treq->iif,
which is correctly fixed up in tcp_v6_conn_request() to handle the
case of link-local addresses. This brings it in line with the
tcp_v6_send_synack() code, which is already correctly using the
treq->iif in this way.

Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/inet6_connection_sock.c