diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-04-20 00:37:13 +0200 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-20 00:37:13 +0200 |
commit | 5185db09f46ed64d520d09db6e93852e44106628 (patch) | |
tree | 13d888ea59a80aafa593015f88feb4245288055c /drivers/net/sungem_phy.c | |
parent | [NET]: sockfd_lookup_light() returns random error for -EBADFD (diff) | |
download | linux-5185db09f46ed64d520d09db6e93852e44106628.tar.xz linux-5185db09f46ed64d520d09db6e93852e44106628.zip |
[LLC]: Use pskb_trim_rcsum() in llc_fixup_skb().
Kernel Bugzilla #6409
If we use plain skb_trim(), that's wrong, because if
the SKB is cloned, and it can be because we unshared
it in the caller, we have to allow reallocation. The
pskb_trim*() family of routines is therefore the most
appropriate here.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem_phy.c')
0 files changed, 0 insertions, 0 deletions