Skip to content
Commit e3ec1e8c authored by Miaohe Lin's avatar Miaohe Lin Committed by David S. Miller
Browse files

net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()



The frags of skb_shared_info of the data is assigned in following loop. It
is meaningless to do a memcpy of frags here.

Signed-off-by: default avatarMiaohe Lin <linmiaohe@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 46191546
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