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>
Showing
- include/linux/ipv6.h 1 addition, 0 deletionsinclude/linux/ipv6.h
- include/net/inet_connection_sock.h 1 addition, 0 deletionsinclude/net/inet_connection_sock.h
- include/net/inet_sock.h 0 additions, 9 deletionsinclude/net/inet_sock.h
- net/ipv4/tcp_input.c 3 additions, 1 deletionnet/ipv4/tcp_input.c
- net/ipv4/tcp_ipv4.c 10 additions, 3 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_minisocks.c 1 addition, 1 deletionnet/ipv4/tcp_minisocks.c
- net/ipv6/tcp_ipv6.c 25 additions, 2 deletionsnet/ipv6/tcp_ipv6.c
Loading
Please register or sign in to comment