[PATCH] [NETFILTER] ip_queue: Fix wrong skb->len == nlmsg_len
David S. Miller
davem at davemloft.net
Wed Mar 8 00:01:37 CET 2006
From: Patrick McHardy <kaber at trash.net>
Date: Tue, 07 Mar 2006 13:58:53 +0100
> Thomas Graf wrote:
> > The size of the skb carrying the netlink message is not
> > equivalent to the length of the actual netlink message
> > due to padding. ip_queue matches the length of the payload
> > against the original packet size to determine if packet
> > mangling is desired, due to the above wrong assumption
> > arbitary packets may not be mangled depening on their
> > original size.
> Looks good, thanks Thomas. I think this should also go in 2.4.
Pushed to 2.6.16, 2.6.x stable, and 2.4.x.
More information about the netfilter-devel