Skip to content

Conversation

@yangbolu1991
Copy link
Member

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.

@github-actions github-actions bot added size: XS A PR changing only a single line of code area: PTP IEEE 1588 PTP Protocol labels May 8, 2025
@github-actions github-actions bot requested a review from awojasinski May 8, 2025 11:43
@awojasinski awojasinski requested a review from jukkar May 8, 2025 13:12
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: Yangbo Lu <yangbo.lu@nxp.com>
@yangbolu1991
Copy link
Member Author

Rebased to trigger CI again.
Thanks.

@sonarqubecloud
Copy link

sonarqubecloud bot commented May 9, 2025

@henrikbrixandersen henrikbrixandersen merged commit 1ee5123 into zephyrproject-rtos:main May 12, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: PTP IEEE 1588 PTP Protocol size: XS A PR changing only a single line of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants