You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "liqinhuixm (via GitHub)" <gi...@apache.org> on 2023/08/14 07:32:50 UTC

[GitHub] [nuttx] liqinhuixm opened a new pull request, #10218: net/tcp: Fix the sack byte aligment error.

liqinhuixm opened a new pull request, #10218:
URL: https://github.com/apache/nuttx/pull/10218

   
   
   ## Summary
   Fix the sack byte aligment error when parsing the sack options from input tcp headers.
   The error log is as follows:
     tcp/tcp_send_buffered.c:376:57: runtime error: member access within misaligned  address 0x10075942 for type 'struct tcp_sack_s', which requires 4 byte alignment
   
   ## Impact
   Parsing the sack options form input tcp headers does not generate the 4 bytes alignment error.
   ## Testing
   In the sim environment, both nuttx sim enable the sack function. Using the iperf tool to stream, does not generate the sack 4 bytes alignment error as described above.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [nuttx] xiaoxiang781216 merged pull request #10218: net/tcp: Fix the sack byte aligment error.

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #10218:
URL: https://github.com/apache/nuttx/pull/10218


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org