Skip to content
Commit f9b5dc20 authored by Jukka Rissanen's avatar Jukka Rissanen Committed by Carles Cufí
Browse files

drivers: net: loopback: Do not change the original pkt



When we are sending a network pkt, do not tweak the original
packet but the cloned one. The original behavior is ok too, but
logically we should adjust the cloned packet only that is being
received by the stack. This also means that we avoid one extra
copy to tmp variable when sending the packet.

Signed-off-by: default avatarJukka Rissanen <jukka.rissanen@nordicsemi.no>
parent d3d46a6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment