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

   ## Summary
   avoid crashes caused by four-byte alignment issues.
   
   ## Impact
   mm/iob and net
   
   ## Testing
   sim:matter with ping and iperf
   test log:
   ```
   NuttShell (NSH) NuttX-12.11.0
   MOTD: username=admin password=Administrator
   nsh> ifconfig eth0 10.0.1.2/24
   nsh> ifconfig
   eth0 Link encap:Ethernet HWaddr 42:e1:c4:3f:48:dd at RUNNING mtu 1500
        inet addr:10.0.1.2 DRaddr:10.0.1.1 Mask:255.255.255.0
        inet6 addr: fe80::40e1:c4ff:fe3f:48dd/64
        inet6 DRaddr: ::
   
                IPv4  IPv6   TCP   UDP  ICMP ICMPv6 CAN
   Received     0010  0012  0000  0019  0000  0006  0000
   Dropped      0000  0003  0000  0000  0000  0006  0000
     IPv4        VHL: 0000   Frg: 0000
     IPv6        VHL: 0000
     Checksum   0000  ----  0000  0000  ----  ----  ----
     TCP         ACK: 0000   SYN: 0000
                 RST: 0000  0000
     Type       0000  0000  ----  ----  0000  0000  ----
   Sent         0000  000b  0000  0000  0000  000b  0000
     Rexmit     ----  ----  0000  ----  ----  ----  ----
   nsh> ping -c 3 10.0.1.1
   PING 10.0.1.1 56 bytes of data
   56 bytes from 10.0.1.1: icmp_seq=0 time=0.0 ms
   56 bytes from 10.0.1.1: icmp_seq=1 time=0.0 ms
   56 bytes from 10.0.1.1: icmp_seq=2 time=0.0 ms
   3 packets transmitted, 3 received, 0% packet loss, time 3030 ms
   rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
   nsh> iperf -c 10.0.1.1 -B 10.0.1.2
        IP: 10.0.1.2
   
    mode=tcp-client sip=10.0.1.2:5001,dip=10.0.1.1:5001, interval=3, time=30
   
              Interval         Transfer         Bandwidth
   
      0.00-   3.18 sec  207699968 Bytes  522.52 Mbits/sec
      3.18-   7.50 sec  281968640 Bytes  522.16 Mbits/sec
      7.50-  11.30 sec  249856000 Bytes  526.01 Mbits/sec
     11.30-  17.96 sec  438517760 Bytes  526.75 Mbits/sec
     17.96-  32.37 sec  940507136 Bytes  522.14 Mbits/sec
      0.00-  32.37 sec 2297282560 Bytes  567.76 Mbits/sec
   iperf exit
   nsh> iperf -s -B 10.0.1.2
        IP: 10.0.1.2
   
    mode=tcp-server sip=10.0.1.2:5001,dip=0.0.0.0:5001, interval=3, time=0
   accept: 10.0.1.1:57610
   
              Interval         Transfer         Bandwidth
   
      0.00-   3.22 sec  247189740 Bytes  614.14 Mbits/sec
      3.22-   6.36 sec  230052200 Bytes  586.12 Mbits/sec
      6.36-   9.77 sec  267815100 Bytes  628.31 Mbits/sec
   closed by the peer: 10.0.1.1:57610
   iperf exit
   nsh> 
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to