]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
netfilter: introduce nf_conntrack_helper_put helper function
authorLiping Zhang <zlpnobody@gmail.com>
Sun, 7 May 2017 14:01:55 +0000 (22:01 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 15 May 2017 10:42:29 +0000 (12:42 +0200)
commitd91fc59cd77c719f33eda65c194ad8f95a055190
treeb39d63460a1b261518ed0fecc72a7ff1cff320c8
parentd110a3942aca78d14929bc648aeb83ee0b245a61
netfilter: introduce nf_conntrack_helper_put helper function

And convert module_put invocation to nf_conntrack_helper_put, this is
prepared for the followup patch, which will add a refcnt for cthelper,
so we can reject the deleting request when cthelper is in use.

Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_helper.h
net/netfilter/nf_conntrack_helper.c
net/netfilter/nft_ct.c
net/netfilter/xt_CT.c
net/openvswitch/conntrack.c