|
@@ -79,12 +79,10 @@ static int connmark_tg_check(const struct xt_tgchk_param *par)
|
|
|
int ret;
|
|
|
|
|
|
ret = nf_ct_l3proto_try_module_get(par->family);
|
|
|
- if (ret < 0) {
|
|
|
+ if (ret < 0)
|
|
|
pr_info("cannot load conntrack support for proto=%u\n",
|
|
|
par->family);
|
|
|
- return ret;
|
|
|
- }
|
|
|
- return 0;
|
|
|
+ return ret;
|
|
|
}
|
|
|
|
|
|
static void connmark_tg_destroy(const struct xt_tgdtor_param *par)
|
|
@@ -111,12 +109,10 @@ static int connmark_mt_check(const struct xt_mtchk_param *par)
|
|
|
int ret;
|
|
|
|
|
|
ret = nf_ct_l3proto_try_module_get(par->family);
|
|
|
- if (ret < 0) {
|
|
|
+ if (ret < 0)
|
|
|
pr_info("cannot load conntrack support for proto=%u\n",
|
|
|
par->family);
|
|
|
- return ret;
|
|
|
- }
|
|
|
- return 0;
|
|
|
+ return ret;
|
|
|
}
|
|
|
|
|
|
static void connmark_mt_destroy(const struct xt_mtdtor_param *par)
|