]> git.baikalelectronics.ru Git - 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)
commitef26969d17706e79b0910ee76929828c0942f649
treeb39d63460a1b261518ed0fecc72a7ff1cff320c8
parent667ecfe37aec25a1bb9d8e77f399c9f4e603bc6c
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