Yasuyuki Kozakai e1bbdebdba [NETFILTER]: nf_conntrack: Fix module refcount dropping too far
If nf_ct_l3proto_find_get() fails to get the refcount of
nf_ct_l3proto_generic, nf_ct_l3proto_put() will drop the refcount
too far.

This gets rid of '.me = THIS_MODULE' of nf_ct_l3proto_generic so that
nf_ct_l3proto_find_get() doesn't try to get refcount of it.
It's OK because its symbol is usable until nf_conntrack.ko is unloaded.

This also kills unnecessary NULL pointer check as well.
__nf_ct_proto_find() allways returns non-NULL pointer.

Signed-off-by: Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-04-24 17:27:28 -07:00
..
2006-04-14 16:01:26 -07:00
2006-03-19 13:20:06 -08:00
2006-04-11 17:21:06 -07:00
2006-03-29 13:57:31 -08:00
2006-03-20 22:33:17 -08:00
2005-08-29 15:31:14 -07:00
2006-01-11 18:42:14 -08:00
2006-04-14 15:03:05 -07:00
2006-02-07 01:47:12 -05:00
2006-01-12 14:06:31 -08:00
2005-04-16 15:20:36 -07:00