Skip to content

Conversation

@jukkar
Copy link
Member

@jukkar jukkar commented Mar 21, 2025

We drop the packet if TTL or hop limit is 0, but we should also unref the packet in this case because we return 0 to the caller which is not then able to free the packet because it thinks that the packet was sent properly.

Backport 2f1a134 from #87325.

Fixes #87323

We drop the packet if TTL or hop limit is 0, but we should
also unref the packet in this case because we return 0 to
the caller which is not then able to free the packet because
it thinks that the packet was sent properly.

Signed-off-by: Jukka Rissanen <[email protected]>
@jukkar jukkar added area: Networking Backport Backport PR and backport failure issues labels Mar 21, 2025
@jukkar jukkar added this to the v3.7.2 milestone Mar 21, 2025
@jukkar jukkar added this to Backports Mar 21, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Mar 21, 2025
@jukkar jukkar requested review from pdgendt and rlubos March 21, 2025 10:42
@nashif nashif merged commit 5e5baa5 into zephyrproject-rtos:v3.7-branch Apr 1, 2025
27 of 28 checks passed
@github-project-automation github-project-automation bot moved this from To do to Done in Backports Apr 1, 2025
@jukkar jukkar deleted the backport-87325-to-v3.7-branch branch April 2, 2025 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Networking Backport Backport PR and backport failure issues

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants