summaryrefslogtreecommitdiff
path: root/include/net/inet6_connection_sock.h
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2012-06-28 16:34:19 +0400
committerDavid S. Miller <davem@davemloft.net>2012-06-29 04:53:50 +0400
commit3840a06e6046aaee95f33a120499d2dc8c054b9d (patch)
tree6a6acc85ad10729f25b4f3ac81f46facf03b978d /include/net/inet6_connection_sock.h
parent9247869ee661b046510c19a36cf0d91d9c2639d3 (diff)
downloadlinux-3840a06e6046aaee95f33a120499d2dc8c054b9d.tar.xz
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>
Diffstat (limited to 'include/net/inet6_connection_sock.h')
-rw-r--r--include/net/inet6_connection_sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/inet6_connection_sock.h b/include/net/inet6_connection_sock.h
index 1866a676c810..df2a857e853d 100644
--- a/include/net/inet6_connection_sock.h
+++ b/include/net/inet6_connection_sock.h
@@ -26,6 +26,7 @@ extern int inet6_csk_bind_conflict(const struct sock *sk,
const struct inet_bind_bucket *tb, bool relax);
extern struct dst_entry* inet6_csk_route_req(struct sock *sk,
+ struct flowi6 *fl6,
const struct request_sock *req);
extern struct request_sock *inet6_csk_search_req(const struct sock *sk,