Skip to content

Conversation

@tony-josi-aws
Copy link
Member

@tony-josi-aws tony-josi-aws commented Feb 27, 2025

Description

Zynq network interface packet filtering, if enabled, could drop packets with fragment flags (don't fragment and may fragment bits) set incorrectly as ipFRAGMENT_OFFSET_BIT_MASK flag is already defined to be matching as per the endian requirement based on the ipconfigBYTE_ORDER, and doesn’t need FreeRTOS_ntohs again.

This PR fixes the issue.

User reported issue of pings not replied from Zynq when requested from specific hosts.

Test Steps

Author of the issue confirmed the fix

Checklist:

  • [ ] I have tested my changes. No regression in existing tests.
  • [ ] I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@tony-josi-aws tony-josi-aws requested a review from a team as a code owner February 27, 2025 06:21
aggarg
aggarg previously approved these changes Feb 27, 2025
@pete-pjb
Copy link
Contributor

Hi @tony-josi-aws and @aggarg,

I believe this change also applies to the xilinx_ultrascale port, I am really busy at the moment and don't have time to do a PR would you be able to expand this PR to include the change also for that port? here is a link to the port...

Kind Regards,

Pete

ActoryOu
ActoryOu previously approved these changes Feb 27, 2025
@tony-josi-aws tony-josi-aws dismissed stale reviews from ActoryOu and aggarg via 6d18eb3 February 27, 2025 12:09
@tony-josi-aws
Copy link
Member Author

@pete-pjb

Updated xilinx_ultrascale port.
Thanks

@tony-josi-aws tony-josi-aws merged commit 0ab46d1 into FreeRTOS:main Feb 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants