Re: nf_nat_core just using l3proto_find_get

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jan Engelhardt wrote:
On Feb 19 2008 13:22, Patrick McHardy wrote:
Jan Engelhardt wrote:
I just noticed that nf_nat_core.c uses

        l3proto = nf_ct_l3proto_find_get((u_int16_t)AF_INET);

in its nf_nat_init() function. Why is not it using
nf_ct_l3proto_module_try_get here?
There is no such function, nf_ct_l3proto_find_get() takes a
module reference.

Hm?

[...]

leading to the original question why nf_nat_core does not use
nf_ct_l3proto_try_module_get.


Why should it? There's no need for manual module loading since
there already is a symbol dependency.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux