Skip to content
Commit c4264f27 authored by Emmanuel Grumbach's avatar Emmanuel Grumbach Committed by David S. Miller
Browse files

net: skb_trim explicitely check the linearity instead of data_len



The purpose of the check on data_len is to check linearity, so use the inline
helper for this. No overhead and more explicit.

Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c378a9c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment