1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-31 01:11:21 +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-09-14 15:05:25 +02:00
2022-02-11 12:38:21 +01:00
2020-11-12 22:50:53 +01:00
2022-09-14 15:05:25 +02:00
2022-09-14 15:05:25 +02:00
2021-06-02 14:07:17 +02:00
2022-11-04 16:48:48 +01:00
2022-09-16 14:00:35 +02:00
2021-12-15 12:41:36 +01:00
2021-08-13 19:50:38 +02:00
2020-08-21 15:19:22 +02:00
2020-10-22 11:10:14 +02:00
2021-08-13 19:50:38 +02:00
2021-12-07 13:00:58 +01:00
2021-08-13 19:50:38 +02:00
2020-11-17 10:10:28 +01:00
2021-08-13 19:50:38 +02:00
2022-07-26 19:46:14 +02:00
2021-01-17 00:17:58 +01:00
2022-02-11 12:38:21 +01:00
2022-06-16 15:26:27 +02:00
2021-08-13 19:50:38 +02:00
2021-12-06 11:53:59 +01:00
2020-08-14 12:21:24 +02:00
2022-02-12 18:30:58 +01:00
2021-08-13 19:50:38 +02:00
2022-08-03 22:09:21 +02:00
2022-09-29 22:01:37 +02:00
2020-10-02 08:15:00 +02:00