diff options
author | Hannes Frederic Sowa <hannes@stressinduktion.org> | 2013-03-22 04:24:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-03-24 17:16:30 -0400 |
commit | eec2e6185ff6eab18c2cae9b01a9fbc5c33248fc (patch) | |
tree | 65cef64452ff052e7b57dc92523f20cf5d120338 /include | |
parent | be991971d53e0f5b6d13e3940192054216590072 (diff) |
ipv6: implement RFC3168 5.3 (ecn protection) for ipv6 fragmentation handling
Hello!
After patch 1 got accepted to net-next I will also send a patch to
netfilter-devel to make the corresponding changes to the netfilter
reassembly logic.
Thanks,
Hannes
-- >8 --
[PATCH 2/2] ipv6: implement RFC3168 5.3 (ecn protection) for ipv6 fragmentation handling
This patch also ensures that INET_ECN_CE is propagated if one fragment
had the codepoint set.
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Jesper Dangaard Brouer <jbrouer@redhat.com>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 42ef6abf25c3..0810aa57c780 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -478,6 +478,7 @@ struct ip6_create_arg { | |||
478 | u32 user; | 478 | u32 user; |
479 | const struct in6_addr *src; | 479 | const struct in6_addr *src; |
480 | const struct in6_addr *dst; | 480 | const struct in6_addr *dst; |
481 | u8 ecn; | ||
481 | }; | 482 | }; |
482 | 483 | ||
483 | void ip6_frag_init(struct inet_frag_queue *q, void *a); | 484 | void ip6_frag_init(struct inet_frag_queue *q, void *a); |
@@ -497,6 +498,7 @@ struct frag_queue { | |||
497 | int iif; | 498 | int iif; |
498 | unsigned int csum; | 499 | unsigned int csum; |
499 | __u16 nhoffset; | 500 | __u16 nhoffset; |
501 | u8 ecn; | ||
500 | }; | 502 | }; |
501 | 503 | ||
502 | void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, | 504 | void ip6_expire_frag_queue(struct net *net, struct frag_queue *fq, |