Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net/icmpv6: Fix value of SIZEOF_ICMPV6_ECHO_xxx_S #10140

Merged
merged 1 commit into from Aug 10, 2023

Conversation

wengzhe
Copy link
Contributor

@wengzhe wengzhe commented Aug 10, 2023

Summary

The SIZEOF_ICMPV6_ECHO_REQUEST_S and SIZEOF_ICMPV6_ECHO_REPLY_S macro are intended to be 8+n, but actually becomes 10-1+n and causes the packet sent by ping6 one byte more than expected.

Impact

ping6 command

Testing

ping6 on sim with wireshark

The `SIZEOF_ICMPV6_ECHO_REQUEST_S` and `SIZEOF_ICMPV6_ECHO_REPLY_S`
macro are intended to be `8+n`, but actually becomes `10-1+n` and causes
the packet sent by `ping6` one byte more than expected.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 264283c into apache:master Aug 10, 2023
26 checks passed
@jerpelea jerpelea added this to To-Add in Release Notes - 12.3.0 Sep 26, 2023
@jerpelea jerpelea moved this from To-Add to net in Release Notes - 12.3.0 Sep 27, 2023
@jerpelea jerpelea moved this from net to done in Release Notes - 12.3.0 Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants