diff options
| author | Alexander Atanasov <alex@ssi.bg> | 2002-06-02 21:57:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-06-02 21:57:53 -0700 |
| commit | 353e641fc79ce920199dc3c2a54e9123ee283ccc (patch) | |
| tree | 5a4a864590b99d0fded21e22f10d53a3d05db0c2 /net | |
| parent | bd81e60effb70b519aee96a06bcf21c112f10f44 (diff) | |
[PATCH] ipchains_core netlink fix
oom-loop fixes error handling after a netlink failure - it does not do a
cleanup and it makes every next call to ip_fw_check to detect a
loop and drop the packet.
Diffstat (limited to 'net')
| -rw-r--r-- | net/ipv4/netfilter/ipchains_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ipchains_core.c b/net/ipv4/netfilter/ipchains_core.c index 18c4a29e2931..5a49783051fd 100644 --- a/net/ipv4/netfilter/ipchains_core.c +++ b/net/ipv4/netfilter/ipchains_core.c @@ -723,6 +723,7 @@ ip_fw_check(struct iphdr *ip, src_port, dst_port, count, tcpsyn)) { ret = FW_BLOCK; + cleanup(chain, 0, slot); goto out; } break; |
