Skip to contentSkip to conversation

net: eliminate meaningless memcpy to data in pskb_carve_inside_nonlinear()

PATCH linmiaohe 1 participant 1 message Aug 11, 2020

Subsystems (2)
lore
Share & tools
lore

linmiaohe

author
#0 lore raw
Quoted 5 lines · Florian Westphal
Quoted 1 line · Miaohe Lin

The skb_shared_info part of the data is assigned in the following loop.

Where?

It's at the below for (i = 0; i < nfrags; i++) loop. But I missed something as Eric Dumazet pointed out. Sorry about it.