1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 05:23:50 +01:00
Marian Buschsieweke 0d5bde0ce2
sys/net/gnrc/pkt: fix gnrc_pkt_delete()
The previous implementation used creative construct for impedance
mismatching between the core list API (which returns a ptr to the
removed element if found) and the GNRC pkt list API (which returns a
ptr to the new list head) that creates a temporary list head on the
stack.

I'm not entirely sure if the previous implementation is containing
undefined behavior that is used against us with GCC >= 12.x, or if this
is a compiler bug. In either case, not reusing the core list API here
and just having a textbook linked list delete function here is not much
less readable and fixes the issue for our users.
2022-11-10 17:25:34 +01:00
..
2019-11-23 22:39:37 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2021-06-18 00:13:08 +02:00
2021-08-13 19:50:38 +02:00
2020-11-25 17:52:34 +01:00
2022-10-14 03:35:15 +02:00
2022-11-10 17:25:34 +01:00
2021-01-26 10:50:19 +01:00
2020-11-23 16:56:34 +01:00
2020-11-23 16:56:34 +01:00
2021-08-14 21:27:34 +02:00
2022-10-27 17:28:01 +02:00