Harald Welte d2a7bb7141 [NETFILTER] NAT: Fix module refcount dropping too far
The unknown protocol is used as a fallback when a protocol isn't known.
Hence we cannot handle it failing, so don't set ".me".  It's OK, since we
only grab a reference from within the same module (iptable_nat.ko), so we
never take the module refcount from 0 to 1.

Also, remove the "protocol is NULL" test: it's never NULL.

Signed-off-by: Rusty Rusty <rusty@rustcorp.com.au>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
2005-11-05 01:23:34 -02:00
..
2005-09-09 13:35:42 -07:00
2005-08-29 16:01:32 -07:00
2005-10-10 21:11:34 -07:00
2005-08-29 16:08:31 -07:00
2005-10-25 23:54:01 -02:00
2005-08-29 15:33:20 -07:00
2005-04-16 15:20:36 -07:00
2005-10-25 23:54:01 -02:00
2005-09-19 18:45:42 -07:00
2005-08-29 16:01:32 -07:00
2005-08-29 16:01:32 -07:00
2005-11-02 21:24:01 -02:00
2005-04-16 15:20:36 -07:00
2005-05-03 16:27:10 -07:00
2005-08-29 15:33:20 -07:00