Commit 353e641f authored by Alexander Atanasov's avatar Alexander Atanasov Committed by Linus Torvalds

[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.
parent bd81e60e
...@@ -723,6 +723,7 @@ ip_fw_check(struct iphdr *ip, ...@@ -723,6 +723,7 @@ ip_fw_check(struct iphdr *ip,
src_port, dst_port, src_port, dst_port,
count, tcpsyn)) { count, tcpsyn)) {
ret = FW_BLOCK; ret = FW_BLOCK;
cleanup(chain, 0, slot);
goto out; goto out;
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment