You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "wangchen61698 (via GitHub)" <gi...@apache.org> on 2026/01/09 11:12:21 UTC

Re: [PR] net: update check condition from IFF_UP to IFF_RUNNING in the network sending process [nuttx]

wangchen61698 commented on PR #17589:
URL: https://github.com/apache/nuttx/pull/17589#issuecomment-3728472523

   > @wangchen61698 please provide more details why this modification was necessary. You just said you modified it, but you didn't say why? What was the issue you were solving? Please also provide valid testing showing the issue and showing it was fixed
   The issue we encountered is that the network card is in a non-running state but is up. Messages should not be sent out, but the Address Conflict Detection (ACD) function still sends ARP messages. This behavior is incorrect, so we modified the judgment condition. ARP messages can only be sent if the network card is in a running state; otherwise, they cannot be sent. We also simultaneously modified the relevant judgment logic in other business codes to ensure consistency in the judgment of network card status across other businesses
   


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