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
..
2022-09-14 15:05:25 +02:00
2022-07-18 15:27:58 +02:00
2020-11-23 16:56:34 +01:00
2022-06-06 20:46:48 +02:00
2021-08-13 19:50:38 +02:00
2022-04-14 09:23:27 +02:00
2022-10-25 14:09:26 +02:00
2022-09-14 15:05:25 +02:00
2022-07-29 17:48:26 +02:00
2021-08-13 19:50:38 +02:00
2020-09-30 11:18:36 +02:00
2020-03-24 10:39:49 +01:00
2021-08-13 19:50:38 +02:00
2022-09-26 20:20:14 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2020-07-22 00:26:09 +05:30
2021-08-13 19:50:38 +02:00
2022-09-14 15:05:25 +02:00
2021-06-18 00:13:08 +02:00
2021-07-05 10:32:50 +02:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2022-09-14 15:05:25 +02:00
2021-07-08 09:40:02 +02:00
2020-11-09 11:45:28 +01:00