[riot-notifications] [RIOT-OS/RIOT] gnrc_netif_pkq: fix pktbuf leak (#15435)

José Alamos notifications at github.com
Fri Nov 13 11:11:49 CET 2020


@jia200x commented on this pull request.



> @@ -1715,6 +1718,7 @@ static void _event_cb(netdev_t *dev, netdev_event_t event)
                 break;
 #if IS_USED(MODULE_NETSTATS_L2) || IS_USED(MODULE_GNRC_NETIF_PKTQ)
             case NETDEV_EVENT_TX_COMPLETE:
+            case NETDEV_EVENT_TX_COMPLETE_DATA_PENDING:

This event is generated when the received ACK frame has the Frame Pending bit set. It needs to be indicated by radios (or SubMAC) since the ACK frame is not forwarded to the upper layer

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15435#discussion_r522852567
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201113/9d25f186/attachment.htm>


More information about the notifications mailing list