You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/03/26 20:03:45 UTC

[GitHub] [mynewt-nimble] ccollins476ad opened a new pull request #390: nimble/host: Register a 1-elem mbuf pool for ACL; prevents possible deadlock

ccollins476ad opened a new pull request #390: nimble/host: Register a 1-elem mbuf pool for ACL; prevents possible deadlock
URL: https://github.com/apache/mynewt-nimble/pull/390
 
 
   Register a one-element mbuf pool dedicated to holding outgoing ACL data packets.  This dedicated pool prevents a deadlock caused by mbuf exhaustion.  Without this pool, all msys mbufs could be permanently allocated, preventing us from fragmenting outgoing packets and sending them (and ultimately freeing them).
   
   When the host fragments an outgoing data packet, it first tries to allocate the fragment using the new pool.  If this fails (because the single mbuf has already been sent to the controller), the host falls back to using msys.

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


With regards,
Apache Git Services