|
@@ -96,7 +96,7 @@ xt_ct_set_helper(struct nf_conn *ct, const char *helper_name,
|
|
|
|
|
|
help = nf_ct_helper_ext_add(ct, helper, GFP_KERNEL);
|
|
|
if (help == NULL) {
|
|
|
- module_put(helper->me);
|
|
|
+ nf_conntrack_helper_put(helper);
|
|
|
return -ENOMEM;
|
|
|
}
|
|
|
|
|
@@ -263,7 +263,7 @@ out:
|
|
|
err4:
|
|
|
help = nfct_help(ct);
|
|
|
if (help)
|
|
|
- module_put(help->helper->me);
|
|
|
+ nf_conntrack_helper_put(help->helper);
|
|
|
err3:
|
|
|
nf_ct_tmpl_free(ct);
|
|
|
err2:
|
|
@@ -346,7 +346,7 @@ static void xt_ct_tg_destroy(const struct xt_tgdtor_param *par,
|
|
|
if (ct) {
|
|
|
help = nfct_help(ct);
|
|
|
if (help)
|
|
|
- module_put(help->helper->me);
|
|
|
+ nf_conntrack_helper_put(help->helper);
|
|
|
|
|
|
nf_ct_netns_put(par->net, par->family);
|
|
|
|