tcp: pass fl6 to inet6_csk_route_req()
authorNeal Cardwell <ncardwell@google.com>
Thu, 28 Jun 2012 12:34:19 +0000 (12:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Jun 2012 00:53:50 +0000 (17:53 -0700)
commit3840a06e6046aaee95f33a120499d2dc8c054b9d
tree6a6acc85ad10729f25b4f3ac81f46facf03b978d
parent9247869ee661b046510c19a36cf0d91d9c2639d3
tcp: pass fl6 to inet6_csk_route_req()

This commit changes inet_csk_route_req() so that it uses a pointer to
a struct flowi6, rather than allocating its own on the stack. This
brings its behavior in line with its IPv4 cousin,
inet_csk_route_req(), and allows a follow-on patch to fix a dst leak.

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