Hi,
From: Jan Engelhardt <jengelh@linux01.gwdg.de>
Date: Sun, 3 Jun 2007 13:12:55 +0200 (MEST)
> +static int __init xt_connlimit_init(void)
> +{
> + need_conntrack_ipv4();
> + return xt_register_match(&xt_connlimit_reg);
> +}
You can use nf_ct_l3proto_try_module_get() instead of introducing
need_conntrack_ipv4(). Please refer xt_state.c and xt_conntrack.c as
example.
-- Yasuyuki Kozakai
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2/2] xt_connlimit (iptables) - connection limiting, Jan Engelhardt |
|---|---|
| Next by Date: | Re: [PATCH 1/2] xt_connlimit (kernel) - connection limiting, Jan Engelhardt |
| Previous by Thread: | [PATCH 1/2] xt_connlimit (kernel) - connection limiting, Jan Engelhardt |
| Next by Thread: | Re: [PATCH 1/2] xt_connlimit (kernel) - connection limiting, Jan Engelhardt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |