Skip to content

Conversation

@rlubos
Copy link
Contributor

@rlubos rlubos commented Nov 6, 2025

Manual backport from #98780

Fixes #98936

Check the address family of the packet before passing it to a ICMP
handler, to avoid scenarios where ICMPv4 packet is paseed to a ICMPv6
handler and vice versa.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit 587d9e6)
Add test cases that respective ICMPv4/ICMPv6 handlers are not called for
packets where address family doesn't match (i.e. malformed ICMPv4 packet
imitating ICMPv6 one).

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
(cherry picked from commit 486e824)
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 6, 2025

@JarmouniA JarmouniA added the Backport Backport PR and backport failure issues label Nov 6, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Nov 6, 2025
@JarmouniA JarmouniA added this to the v3.7.2 milestone Nov 6, 2025
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: To do

Development

Successfully merging this pull request may close these issues.

4 participants