]> git.baikalelectronics.ru Git - 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)
commite04cba92fc9a224d25f7cc56ba4b91bcc0cf574c
tree119701591725281d99ecad6f459166da3e6034a2
parent04c4a386d6fa29e896053ce60e9257296d30cf77
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