diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2023-11-22 18:02:46 +0100 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2023-11-26 15:51:53 +0100 |
commit | 7d7228fa0f9b5593fead5cfcb10bfc5bfaad4d08 (patch) | |
tree | 404fd4ecc074f27084454192b98f62201695f9c4 /src/ipcpd/udp | |
parent | 6952f971a8ad78d38b3c6b26b117bffbe55af8ee (diff) | |
download | ouroboros-0.20.3.tar.gz ouroboros-0.20.3.zip |
ipcpd: Fix eth management packets blocking rdrbuff0.20.3
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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/udp')
-rw-r--r-- | src/ipcpd/udp/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |