1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/pktbuf_malloc
Martine Lenders 4f733840c6 gnrc_pktbuf_malloc: allow write-protect of size 0 snips
Size 0 snips are legal packet snips (empty payload e.g.) so it doesn't
make sense to issue an error in the write-protection in that case.

API documentation doesn't mention it either and the tests still pass
with the check removed.
2019-03-12 14:35:58 +01:00
..
gnrc_pktbuf_malloc.c gnrc_pktbuf_malloc: allow write-protect of size 0 snips 2019-03-12 14:35:58 +01:00
Makefile gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf 2017-07-15 17:54:47 +02:00