Skip to contentSkip to conversation

Patch: nfqnl_mangle skb_trim

DISCUSSION James D. Nurmi 2 participants 2 messages Sep 27, 2006 – Sep 29, 2006 netfilter

lore
Share & tools
lore
#0 lore raw

Hi all,

I've got some code very dependant on nfnetlink_queue, and turned up a large number of warns coming from skb_trim. While it's quite possibly my code, having not seen it on older kernels made me a bit suspect.

Anyhow, based on some googling I turned up this thread:
http://lkml.org/lkml/2006/8/13/56

And believe the issue to be related, so attached is a small patch to the kernel -- not sure if this is completely correct, but for anyone else hitting the WARN_ON(1) in skbuff.h, it might be helpful..

Cheers,

James

#1 lore raw
Quoted 10 lines · James D. Nurmi

I've got some code very dependant on nfnetlink_queue, and turned up a large number of warns coming from skb_trim. While it's quite possibly my code, having not seen it on older kernels made me a bit suspect.

Anyhow, based on some googling I turned up this thread:
http://lkml.org/lkml/2006/8/13/56

And believe the issue to be related, so attached is a small patch to the kernel -- not sure if this is completely correct, but for anyone else hitting the WARN_ON(1) in skbuff.h, it might be helpful..

Thanks. Can you please send me Signed-off-by: line so I can apply it?