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

   ## Summary
   When ipv4_input/ipv6_input called by devif_loopback writes wrong data into 
buffer (another bug we're fixing), the else block does nothing but only record 
the 'dropped' statistic, then infinite loop happens.
   
   Refers to previous lo device with dropping logic:
   
https://github.com/apache/nuttx/blob/releases/11.0/drivers/net/loopback.c#L178-L180
   
   ## Impact
   Increase robustness, actually drop packet when we want.
   
   ## Testing
   pass CI; manually triggered edge case to check infinite loop disappears.
   
   


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