[riot-notifications] [RIOT-OS/RIOT] netdev: iolist not checked for empty elements on send (#11163)

Francisco Acosta notifications at github.com
Mon Apr 1 17:48:24 CEST 2019


@miri64 according to https://github.com/RIOT-OS/RIOT/blob/299a1903e63bebc657e36104edb780cd6b3b7155/drivers/cc2420/cc2420.c#L115-L116  `pkt_len` cannot bet 0 if I'm not mistaken. Otherwise I can provide a patch to check for `iol->iol_len` as agreed.

For the cc2538 the FIFO apparently accepts lengths of value 0:

https://github.com/RIOT-OS/RIOT/blob/299a1903e63bebc657e36104edb780cd6b3b7155/cpu/cc2538/radio/cc2538_rf_netdev.c#L269-L272


-- 
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/issues/11163#issuecomment-478634999
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190401/55e196c6/attachment-0001.html>


More information about the notifications mailing list