Skip to content

net: ICMPv4 packets can be reported to ICMPv6 handlers (and vice versa) #98936

@rlubos

Description

@rlubos

Describe the bug

Malformed ICMPv4 packets holding ICMPv6 codes are passed to registered ICPMv6 handlers, simlarily with ICMPv6 packets carrying ICMPv4 codes. This is wrong as ICMPv4/6 handlers expect ICMPv4/6 packet respectively.

Regression

  • This is a regression.

Steps to reproduce

No response

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

No response

Additional Context

Fix present in #98780

Metadata

Metadata

Assignees

Labels

area: NetworkingbugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions