Skip to content

gnrc_netif_pktq leaks memory #17924

Open
@benpicco

Description

Description

Steps to reproduce the issue

Use gnrc_netif_pktq on a board with two interfaces (e.g. nrf802154 & slipdev) e.g. by running

make -C examples/gnrc_border_router BOARD=nrf52840dk UPLINK=slip -j flash term

Expected results

The node can send and receive packets.

Actual results

After a few minutes the node can no longer send any packets

2022-04-13 00:57:06,058 # > ping ff02::1
2022-04-13 00:57:06,060 # error: packet buffer full
2022-04-13 00:57:07,060 # error: packet buffer full
2022-04-13 00:57:08,060 # error: packet buffer full
2022-04-13 00:57:09,058 # 
2022-04-13 00:57:09,061 # --- ff02::1 PING statistics ---
2022-04-13 00:57:09,066 # 3 packets transmitted, 0 packets received, 100% packet loss

The node never recovers until it is rebooted.

Versions

RIOT master

Metadata

Assignees

Labels

Area: networkArea: NetworkingType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions