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 2020/11/09 04:00:14 UTC

[GitHub] [incubator-nuttx] anchao opened a new pull request #2257: net/callback: remove the assert check of conn instance

anchao opened a new pull request #2257:
URL: https://github.com/apache/incubator-nuttx/pull/2257


   ## Summary
   
   net/callback: remove the assert check of conn instance 
   
   ## Impact
   
   remove the connection assertion since the instance will be invalid
   if the network device has been taken down.
   
   net/netdev/netdev_ioctl.c:
   
   1847 void netdev_ifdown(FAR struct net_driver_s *dev)
   1848 {
   ...
   1871       /* Notify clients that the network has been taken down */
   1872
   1873       devif_dev_event(dev, NULL, NETDEV_DOWN);
   ...
   1883 }
   
   ## Testing
   
   no assertion if the net interface get down


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #2257: net/callback: remove the assert check of conn instance

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #2257:
URL: https://github.com/apache/incubator-nuttx/pull/2257


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org