commit | c4264f27e83968ddfe3f0cfe7a33adfb320e1e42 | [log] [tgz] |
---|---|---|
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Sat May 21 19:46:09 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun May 22 21:01:21 2011 -0400 |
tree | 384806dfa9a6afe9e11d60bb82af2151323ec7be | |
parent | c378a9c019cf5e017d1ed24954b54fae7bebd2bc [diff] |
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: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>