Miaohe Lin c15fc199b3 net: Use __skb_pagelen() directly in skb_cow_data()
In fact, skb_pagelen() - skb_headlen() is equal to __skb_pagelen(), use it
directly to avoid unnecessary skb_headlen() call.

Also fix the CHECK note of checkpatch.pl:
    Comparison to NULL could be written "!__pskb_pull_tail"

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-08-03 15:38:31 -07:00
..
2020-06-23 20:27:09 -07:00
2020-07-28 13:43:40 -07:00
2020-07-28 13:43:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-28 13:43:40 -07:00