You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "Marko Kiiskila (JIRA)" <ji...@apache.org> on 2017/01/10 00:55:58 UTC

[jira] [Created] (MYNEWT-541) dup os_mbuf_free() in ble_gattc_notify_custom()

Marko Kiiskila created MYNEWT-541:
-------------------------------------

             Summary: dup os_mbuf_free() in ble_gattc_notify_custom()
                 Key: MYNEWT-541
                 URL: https://issues.apache.org/jira/browse/MYNEWT-541
             Project: Mynewt
          Issue Type: Bug
            Reporter: Marko Kiiskila


Seen when running low on os_mbufs.

If ble_att_clt_tx_notify() fails in os_mbuf_prepend(), or in os_mbuf_pullup(), the mbuf chain gets freed on failure inside the os_mbuf routines. The dup os_mbuf_free_chain() happens in ble_att_clt_tx_notify() error path then.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)