Skip to content

Conversation

@Naseefabu
Copy link

@Naseefabu Naseefabu commented Oct 11, 2025

I get it TCPdirect/Openonload is designed primarily for 64-bit platforms—where pointer size coincidentally matches the 8-byte UDP header, masking the issue—is this the right way to do it ? because protocol handling should be platform-agnostic right ? The code initially subtracted the pointer size (4 bytes on 32-bit or 8 on 64-bit) instead of the struct's fixed size, Fixed by using sizeof(*udp).

@Naseefabu Naseefabu requested a review from a team as a code owner October 11, 2025 08:02
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.

1 participant