]> git.openfabrics.org - ~emulex/infiniband.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)
commit9247869ee661b046510c19a36cf0d91d9c2639d3
tree4aed0fbf868883f876273d088dba63e1a4956e67
parentb26d344c6b87058ae3e8f919a18580abfc4204eb
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