]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_defrag_ipv4: use net_generic infra
authorFlorian Westphal <fw@strlen.de>
Thu, 1 Apr 2021 14:11:08 +0000 (16:11 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 5 Apr 2021 22:34:52 +0000 (00:34 +0200)
commit995262f6a025a40637e50bf09b906ad3808a961a
tree8996a01139e169714f54efa9d909075f53d1af91
parentb0267976a72d83ea96cc9369ae97e513e245ba8c
netfilter: nf_defrag_ipv4: use net_generic infra

This allows followup patch to remove the defrag_ipv4 member from struct
net.  It also allows to auto-remove the hooks later on by adding a
_disable() function.  This will be done later in a follow patch series.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nf_defrag_ipv4.c