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 2022/06/07 01:05:03 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #6368: net/tcp: Hold the net lock in tcp_timer_expiry

masayuki2009 commented on PR #6368:
URL: https://github.com/apache/incubator-nuttx/pull/6368#issuecomment-1148085128

   @xiaoxiang781216 
   
   The ping command still does not work with spresense:rndis.
   
   ```
   NuttShell (NSH) NuttX-3.6.1
   nsh> uname -a
   NuttX  3.6.1 c4e78abb42 Jun  7 2022 10:00:58 arm spresense
   nsh> ps
     PID GROUP PRI POLICY   TYPE    NPX STATE    EVENT     SIGMASK   STACK   USED  FILLED COMMAND
       0     0   0 FIFO     Kthread N-- Ready              00000000 001000 000372  37.2%  Idle Task
       1     1 224 RR       Kthread --- Waiting  Signal    00000000 001992 000460  23.0%  hpwork 0x2d0502e8
       2     2 100 RR       Kthread --- Waiting  Semaphore 00000000 001992 000276  13.8%  lpwork 0x2d0502f8
       3     3 100 RR       Task    --- Running            00000000 003024 001224  40.4%  spresense_main
       4     4 200 RR       Task    --- Waiting  MQ empty  00000000 000976 000440  45.0%  cxd56_pm_task
       5     5 100 RR       Task    --- Waiting  Semaphore 00000000 001984 000516  26.0%  Telnet daemon 0x2d065940
   nsh> free
                      total       used       free    largest  nused  nfree
           Umem:    1200720      49472    1151248    1150112    137      2
   nsh> ifconfig
   lo	Link encap:Local Loopback at RUNNING
   	inet addr:127.0.0.1 DRaddr:127.0.0.1 Mask:255.0.0.0
   
   eth0	Link encap:Ethernet HWaddr 00:e0:de:ad:be:ff at UP
   	inet addr:10.0.0.2 DRaddr:10.0.0.1 Mask:255.255.255.0
   
                IPv4   TCP   UDP  ICMP
   Received     0000  0000  0000  0000
   Dropped      0000  0000  0000  0000
     IPv4        VHL: 0000   Frg: 0000
     Checksum   0000  0000  0000  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  ----  ----  0000
   Sent         0000  0000  0000  0000
     Rexmit     ----  0000  ----  ----
   nsh> ifconfig eth0 10.0.1.20
   nsh> ifconfig
   lo	Link encap:Local Loopback at RUNNING
   	inet addr:127.0.0.1 DRaddr:127.0.0.1 Mask:255.0.0.0
   
   eth0	Link encap:Ethernet HWaddr 00:e0:de:ad:be:ff at UP
   	inet addr:10.0.1.20 DRaddr:10.0.1.1 Mask:255.255.255.0
   
                IPv4   TCP   UDP  ICMP
   Received     0000  0000  0000  0000
   Dropped      0000  0000  0000  0000
     IPv4        VHL: 0000   Frg: 0000
     Checksum   0000  0000  0000  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  ----  ----  0000
   Sent         0000  0000  0000  0000
     Rexmit     ----  0000  ----  ----
   nsh> ping 10.0.1.20
   PING 10.0.1.20 56 bytes of data
   ```


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