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/12/24 05:16:41 UTC
[GitHub] [nuttx] wengzhe opened a new pull request, #7969: net/devif_loopback: Add robustness to avoid infinite loop
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx] xiaoxiang781216 merged pull request #7969: net/devif_loopback: Add robustness to avoid infinite loop
Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged PR #7969:
URL: https://github.com/apache/nuttx/pull/7969
--
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