Patrick McHardy e2b58a67b9 [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>
2008-02-19 17:17:52 -08:00
..
2008-02-07 18:05:04 -08:00
2008-02-14 14:51:38 -08:00
2008-02-03 17:55:45 +02:00
2008-01-28 15:02:44 -08:00
2008-02-17 18:42:03 -08:00
2008-02-10 18:11:22 -05:00
2008-01-28 15:10:48 -08:00
2008-01-28 14:56:29 -08:00