]> err.no Git - linux-2.6/commit
[NET]: Warn in __skb_trim if skb is paged
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Jun 2006 23:13:38 +0000 (16:13 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:30:22 +0000 (21:30 -0700)
commit3cc0e873986fe594d0e96d07259b11f755325cb2
tree5d3e9a57333a2d7088a6a63c09bc97db98f480af
parentb38dfee3d616ffadb58d4215e3ff9d1d7921031e
[NET]: Warn in __skb_trim if skb is paged

It's better to warn and fail rather than rarely triggering BUG on paths
that incorrectly call skb_trim/__skb_trim on a non-linear skb.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skbuff.h
net/core/skbuff.c