netdev
[Top] [All Lists]

[PATCH] ipchains bugs in 2.2/2.4/2.5 related to netlink calls

To: rusty@xxxxxxxxxxxxxxx, kuznet@xxxxxxxxxxxxx
Subject: [PATCH] ipchains bugs in 2.2/2.4/2.5 related to netlink calls
From: Alexander Atanasov <alex@xxxxxx>
Date: Fri, 24 May 2002 20:43:41 +0300 (EEST)
Cc: netfilter@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
        Hi there!

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.

nlma fixes a call to netlink_broadcast with GFP_KERNEL ( passed to
skb_clone ) while we are in_interrupt() ( catched by a BUG() in
slab.c:1109 ).


2.4 patches apply to 2.5 too , tested on 2.5.15.

-- 
Best Regards,
Alexander Atanasov

Attachment: ipchains_core.c-oom-loop-2.4.18.diff
Description: Text document

Attachment: ipchains_core.c-nlma-2.4.18.diff
Description: Text document

Attachment: ip_fw.c-oom-loop-2.2.20.diff
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] ipchains bugs in 2.2/2.4/2.5 related to netlink calls, Alexander Atanasov <=