Marian Buschsieweke
3a80878848
sys/net/gnrc_pktbuf: make static buffer internal
2022-07-21 16:25:14 +02:00
Marian Buschsieweke
32bb9743e4
sys/net/gnrc/pktbuf_static: make use of alignas()
...
Since we are now using C11, we can make use of `alignas()` provided by
`<stdalign.h>` to make the alignment code easier to read.
2022-07-20 17:52:15 +02:00
Benjamin Valentin
14afafa2d2
gnrc_pktbuf: fix gnrc_pktbuf_contains()
2022-06-17 19:58:01 +02:00
Sören Tempel
178c9eb745
gnrc_pktbuf: use _free function with gnrc_pktbuf_malloc
...
Otherwise the local mallocs variable is not decremented correctly (if
TEST_SUITES is defined) and the fuzzing setup (i.e. when MODULE_FUZZING
is defined) does not terminate. This regression was introduced in
3970b667aa
.
2021-02-12 18:15:40 +01:00
Marian Buschsieweke
3970b667aa
sys/net/gnrc_pktbuf: deduplicate code
...
Implement gnrc_pktbuf_release_error() in gnrc_pktbuf once, rather than providing
two implementations in gnrc_pktbuf_static and gnrc_pktbuf_malloc
2021-01-26 10:50:19 +01:00