Patrick recently pointed out, that there are three places that
perform IP fragments management. In ipv4, ipv6 and in ip6
conntracks. Looks like these places can be a bit consolidated.
The proposal is to create a common structure inet_frag_queue to
put common fields like list heads, refcounts etc in, and include
it into the specific fragment queues. Then such objects like
hash tables, lists, locks etc are moved to common place (struct
inet_frags). At the end common code is moved to the
The inet_ prefix in file names, data structures and functions, and
the code place (net/ipv4) was proposed by Alexey, but the exact
names were selectd by me, so maybe there can be a better ones.
Signed-off-by: Pavel Emelyanov <email@example.com>