Skip to content

Next step in consolidating the IP fragment management

Pavel Emelyanov netdev 1 version Applied

Status from this message: Applied, but if we ever implement dynamically sized frag

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7Omit double hash calculations in xxx_frag_internnet/ipv4/ip_fragment.c net/ipv6/reassembly.c+9 -131 reply
2/7Consolidate xxx_frag_interninclude/net/inet_frag.h include/net/ipv6.h net/ipv4/inet_fragment.c +3 more+82 -961 reply
3/7Consolidate xxx_frag_alloc()include/net/inet_frag.h net/ipv4/inet_fragment.c net/ipv4/ip_fragment.c +2 more+41 -361 reply
4/7Consolidate xxx_frag_create()include/net/inet_frag.h include/net/ipv6.h net/ipv4/inet_fragment.c +3 more+88 -851 reply
5/7Consolidate xxx_find() in fragment managementinclude/net/inet_frag.h include/net/ipv6.h net/ipv4/inet_fragment.c +3 more+73 -981 reply
6/7Remove no longer needed ->equal callbackinclude/net/inet_frag.h include/net/ipv6.h net/ipv4/inet_fragment.c +3 more+3 -351 reply
7/7Consolidate frag queues freeingnet/ipv4/inet_fragment.c net/ipv4/ip_fragment.c net/ipv6/netfilter/nf_conntrack_reasm.c +1 more+5 -141 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/7] Next step in consolidating the IP fragment management

This set concerns the xxx_find() routine only. This one is used to obtain the fragment queue depending on some criteria, and this can be consolidated.

The consolidation goes step-by-step, consolidating one sub-routine at a time, so some functions, exports and callbacks that are introduced in patches are temporary and are removed in some subsequent patch.