Re: [PATCH v2] net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()

2020-08-18 Thread David Miller
From: Miaohe Lin Date: Sat, 15 Aug 2020 04:48:53 -0400 > 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: Miaohe Lin Applied, thank you.

[PATCH v2] net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()

2020-08-15 Thread Miaohe Lin
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: Miaohe Lin --- net/core/skbuff.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/core/skbuff.c b/net/core/skbuff.c index