]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit33d195a507accd4ce47156b3b4d723e93301d115
tree6a6acc85ad10729f25b4f3ac81f46facf03b978d
parent44985d73a5eb0ca8c1544bb2d997dd941585113d
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