You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/09/03 21:20:54 UTC

[GitHub] [incubator-nuttx] a-lunev commented on pull request #4433: net/devif/devif_callback.c: corrected the connection event list to work as FIFO instead of LIFO

a-lunev commented on pull request #4433:
URL: https://github.com/apache/incubator-nuttx/pull/4433#issuecomment-912817220


   > @a-lunev do you have a suggested setup to trigger to issue? You said it happens on high network traffic, but is it possible to reproduce it using the simulator?
   
   Hi Alan,
   
   Initially I experienced the issue on my custom board design.
   Now I was able to reproduce the issue using NuttX "sim" board.
   (Another [PR](https://github.com/apache/incubator-nuttx-apps/pull/844) needs to be applied to the apps repo for testing).
   
   Steps to reproduce the issue:
   ```
   $ git clone https://github.com/apache/incubator-nuttx.git nuttx
   $ git clone https://github.com/apache/incubator-nuttx-apps apps
   $ cd nuttx
   $ ./tools/configure.sh -l sim:ipforward
   $ make
   $ ./nuttx
   NuttShell (NSH) NuttX-10.1.0
   nsh> ipfwd
   ```
   The following log shows how the last two packets are received in a reverse order: 
   
   Created TUN device: tun0
   Created TUN device: tun1
   **Sending packet 1**: size=83
   IP Header:
     60000000002b06ff7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1234**abcd000000000000000050000000 6b110000                        
   Payload:
     48692074686572652054554e20726563 65697665722100                  
     83 bytes sent
   **Sending packet 2**: size=83
   IP Header:
     60000000002b06ff7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1235**abcd000000000000000050000000 6b100000                        
   Payload:
     48692074686572652054554e20726563 65697665722100                  
     83 bytes sent
   **Sending packet 3**: size=83
   IP Header:
     60000000002b06ff7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1236**abcd000000000000000050000000 6b0f0000                        
   Payload:
     48692074686572652054554e20726563 65697665722100                  
     83 bytes sent
   **Received packet 1**: size=83
   IP Header:
     60000000002b06fe7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1234**abcd000000000000000050000000 6b110000                        
   Payload:
     48692074686572652054554e20726563 65697665722100                  
   **Received packet 2**: size=83
   IP Header:
     60000000002b06fe7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1236**abcd000000000000000050000000 6b0f0000                        
   Payload:
     48692074686572652054554e20726563 65697665722100                  
   **Received packet 3**: size=83
   IP Header:
     60000000002b06fe7c00000000000000 00000000000000627c00000000000000
     0000000000010147                                                 
   TCP Header:
     **1235**abcd000000000000000050000000 6b100000                        
   Payload:
     48692074686572652054554e20726563 65697665722100


-- 
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