diff options
| author | Harald Welte <[email protected]> | 2005-11-03 20:17:51 +0100 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2005-11-05 01:23:34 -0200 |
| commit | d2a7bb7141a1fac7b11523538b2d2407e928baeb (patch) | |
| tree | 67fdabbfbdc0b53154a4f6aa1a33c383db02bfb2 /scripts/basic | |
| parent | d811552eda2476215d69d485e437d2dcae1ab0b4 (diff) | |
[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 <[email protected]>
Signed-off-by: Harald Welte <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions