summaryrefslogtreecommitdiffstats
path: root/include/linux/ipv6.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-08-06 05:09:33 +0000
committerDavid S. Miller <davem@davemloft.net>2012-08-06 13:33:21 -0700
commit5d299f3d3c8a2fbc732b1bf03af36333ccec3130 (patch)
tree119701591725281d99ecad6f459166da3e6034a2 /include/linux/ipv6.h
parentb5497eeb37d7d4a5a61b91f64efedc90d1ad6fa3 (diff)
downloadlinux-stable-5d299f3d3c8a2fbc732b1bf03af36333ccec3130.tar.gz
linux-stable-5d299f3d3c8a2fbc732b1bf03af36333ccec3130.tar.bz2
linux-stable-5d299f3d3c8a2fbc732b1bf03af36333ccec3130.zip
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>
Diffstat (limited to 'include/linux/ipv6.h')
-rw-r--r--include/linux/ipv6.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h
index 379e433e15e0..879db26ec401 100644
--- a/include/linux/ipv6.h
+++ b/include/linux/ipv6.h
@@ -369,6 +369,7 @@ struct ipv6_pinfo {
__u8 rcv_tclass;
__u32 dst_cookie;
+ __u32 rx_dst_cookie;
struct ipv6_mc_socklist __rcu *ipv6_mc_list;
struct ipv6_ac_socklist *ipv6_ac_list;