Skip to content
Commit 5185db09 authored by David S. Miller's avatar David S. Miller
Browse files

[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: default avatarDavid S. Miller <davem@davemloft.net>
parent 3672558c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment