diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2006-07-30 20:20:28 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-02 13:38:16 -0700 |
commit | f4d26fb336f3c08066bffbe907d3104be4fb91a8 (patch) | |
tree | 5502b74f0c32355986a5cb73136c3d70c305d51f /security | |
parent | 9cd3ecd674cf3194e07435b5b9559c4d432026d5 (diff) | |
download | linux-f4d26fb336f3c08066bffbe907d3104be4fb91a8.tar.bz2 |
[NET]: Fix ___pskb_trim when entire frag_list needs dropping
When the trim point is within the head and there is no paged data,
___pskb_trim fails to drop the first element in the frag_list.
This patch fixes this by moving the len <= offset case out of the
page data loop.
This patch also adds a missing kfree_skb on the frag that we just
cloned.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions