From 7d7228fa0f9b5593fead5cfcb10bfc5bfaad4d08 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Wed, 22 Nov 2023 18:02:46 +0100 Subject: ipcpd: Fix eth management packets blocking rdrbuff The ipcpd-eth-* reserve a packet buffer slot for the N+1 data packets whenever receiving a frame. For management frames, that slot is not needed and it was not released, thus blocking the rdrbuff. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/udp/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipcpd/udp/main.c') diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c index 91fdd71e..ddcf1a5b 100644 --- a/src/ipcpd/udp/main.c +++ b/src/ipcpd/udp/main.c @@ -431,6 +431,8 @@ static void * udp_ipcp_packet_reader(void * o) (void) o; + ipcp_lock_to_core(); + data = buf + sizeof(uint32_t); eid_p = (uint32_t *) buf; -- cgit v1.2.3