Skip to content

ipv6: fix the reassembly expire code in nf_conntrack

Cong Wang netdev netfilter-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 3 repliesIn review
  2. v34 patches 2 repliesSuperseded
  3. v24 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ipv6: add a new namespace for nf_conntrack_reasminclude/net/net_namespace.h include/net/netns/ipv6.h net/ipv6/netfilter/nf_conntrack_reasm.c+106 -420 replies
2/4ipv6: unify conntrack reassembly expire code with standard oneinclude/net/ipv6.h net/ipv6/netfilter/nf_conntrack_reasm.c net/ipv6/reassembly.c+57 -992 replies
3/4ipv6: make ip6_frag_nqueues() and ip6_frag_mem() static inlineinclude/net/ipv6.h net/ipv6/reassembly.c+11 -120 replies
4/4ipv6: unify fragment thresh handling codeinclude/net/inet_frag.h net/ipv4/inet_fragment.c net/ipv4/ip_fragment.c +2 more+18 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 net-next 0/4] ipv6: fix the reassembly expire code in nf_conntrack

V4: some coding style fix

V3: rename struct netns_nf_ct to struct netns_nf_frag

V2: use IS_ENABLED(CONFIG_IPV6) to fix a build error
rebase to latest net-next

ipv6: add a new namespace for nf_conntrack_reasm
ipv6: unify conntrack reassembly expire code with standard one
ipv6: make ip6_frag_nqueues() and ip6_frag_mem() static
ipv6: unify fragment thresh handling code

Cc Herbert Xu <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Pablo Neira Ayuso <[email protected]>

-----

 include/net/inet_frag.h                 |    2 +-
 include/net/ipv6.h                      |   32 +++++-
 include/net/net_namespace.h             |    3 +
 include/net/netns/ipv6.h                |    8 ++
 net/ipv4/inet_fragment.c                |    9 +-
 net/ipv4/ip_fragment.c                  |    5 +-
 net/ipv6/netfilter/nf_conntrack_reasm.c |  199 +++++++++++++++++--------------
 net/ipv6/reassembly.c                   |   89 ++++----------
 8 files changed, 182 insertions(+), 165 deletions(-)