summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_u32.c
diff options
context:
space:
mode:
authorPatrick McHardy2008-02-20 02:17:52 +0100
committerDavid S. Miller2008-02-20 02:17:52 +0100
commite2b58a67b91dec07dfb40ca2056c64011ce8489d (patch)
tree46e258092c2401b9cf6bc232ecfe96248a51982e /net/netfilter/xt_u32.c
parentipv4/fib_hash.c: fix NULL dereference (diff)
downloadkernel-qcow2-linux-e2b58a67b91dec07dfb40ca2056c64011ce8489d.tar.gz
kernel-qcow2-linux-e2b58a67b91dec07dfb40ca2056c64011ce8489d.tar.xz
kernel-qcow2-linux-e2b58a67b91dec07dfb40ca2056c64011ce8489d.zip
[NETFILTER]: {ip,ip6,nfnetlink}_queue: fix SKB_LINEAR_ASSERT when mangling packet data
As reported by Tomas Simonaitis <tomas.simonaitis@gmail.com>, inserting new data in skbs queued over {ip,ip6,nfnetlink}_queue triggers a SKB_LINEAR_ASSERT in skb_put(). Going back through the git history, it seems this bug is present since at least 2.6.12-rc2, probably even since the removal of skb_linearize() for netfilter. Linearize non-linear skbs through skb_copy_expand() when enlarging them. Tested by Thomas, fixes bugzilla #9933. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/xt_u32.c')
0 files changed, 0 insertions, 0 deletions