Skip to content
Commit 1ee51232 authored by Yangbo Lu's avatar Yangbo Lu Committed by Henrik Brix Andersen
Browse files

net: ptp: fix infinite loop in pkt frag



There was wrong implementation in pkt frag removing and inserting.
This was causing infinite loop in either net_buf_frag_last or
net_pkt_get_len. This happened only when the pkt frag removing
and inserting was executed too fast after sending pkt before
ethernet_send calling net_pkt_get_len.

Signed-off-by: default avatarYangbo Lu <yangbo.lu@nxp.com>
parent 566b3c00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment