net: IP defrag: encapsulate rbtree defrag code into callable functions
authorPeter Oskolkov <posk@google.com>
Tue, 22 Jan 2019 18:02:50 +0000 (10:02 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 05:37:11 +0000 (21:37 -0800)
commitc23f35d19db3b36ffb9e04b08f1d91565d15f84f
treedda4eb1a696a0aad31742ae8c1f0bc3d6ca72472
parentccaceadc4effcb83bb5e84026b6f23c1ae3e0608
net: IP defrag: encapsulate rbtree defrag code into callable functions

This is a refactoring patch: without changing runtime behavior,
it moves rbtree-related code from IPv4-specific files/functions
into .h/.c defrag files shared with IPv6 defragmentation code.

Signed-off-by: Peter Oskolkov <posk@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Florian Westphal <fw@strlen.de>
Cc: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_frag.h
net/ipv4/inet_fragment.c
net/ipv4/ip_fragment.c