]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: ipv6: fix TCP early demux
authorEric Dumazet <edumazet@google.com>
Mon, 6 Aug 2012 05:09:33 +0000 (05:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Aug 2012 20:33:21 +0000 (13:33 -0700)
commit5d299f3d3c8a2fbc732b1bf03af36333ccec3130
tree119701591725281d99ecad6f459166da3e6034a2
parentb5497eeb37d7d4a5a61b91f64efedc90d1ad6fa3
net: ipv6: fix TCP early demux

IPv6 needs a cookie in dst_check() call.

We need to add rx_dst_cookie and provide a family independent
sk_rx_dst_set(sk, skb) method to properly support IPv6 TCP early demux.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ipv6.h
include/net/inet_connection_sock.h
include/net/inet_sock.h
net/ipv4/tcp_input.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_minisocks.c
net/ipv6/tcp_ipv6.c