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

   ## Summary
   d_len needs to include NET_LL_HDRLEN(dev) to avoid errors in the 
verification of message length in ipv4_in/ipv6_in.
   
   ## Impact
   ip fragment.
   
   ## Testing
   sim:matter with enable CONFIG_NET_IPFRAG
   test log without this patch:
   ```
   NuttShell (NSH) NuttX-12.12.0
   MOTD: username=admin password=Administrator
   nsh> ping -c 3 -s 2000 10.0.1.1
   PING 10.0.1.1 2000 bytes of data
   No response from 10.0.1.1: icmp_seq=0 time=1000 ms
   No response from 10.0.1.1: icmp_seq=1 time=1000 ms
   No response from 10.0.1.1: icmp_seq=2 time=1000 ms
   3 packets transmitted, 0 received, 100% packet loss, time 3030 ms
   nsh> 
   ```
   test log with this patch:
   ```
   NuttShell (NSH) NuttX-12.12.0
   MOTD: username=admin password=Administrator
   nsh> ping -c 3 -s 2000 10.0.1.1
   PING 10.0.1.1 2000 bytes of data
   2000 bytes from 10.0.1.1: icmp_seq=0 time=0.0 ms
   2000 bytes from 10.0.1.1: icmp_seq=1 time=0.0 ms
   2000 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> 
   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