From: Harald Welte Date: Thu, 3 Nov 2005 19:17:51 +0000 (+0100) Subject: [NETFILTER] NAT: Fix module refcount dropping too far X-Git-Tag: v2.6.15-rc1~452^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a7bb7141a1fac7b11523538b2d2407e928baeb;p=pandora-kernel.git [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 Signed-off-by: Harald Welte Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed