openqueue_removeAllCreatedBy() can remove packets currently being transmitted

Description

The function openqueue_removeAllCreatedBy() doesn't check who the current owner is before it removes a packet from the queue. If the packet is in the process of being transmitted, owned by COMPONENT_IEEE802154E, then a critical error and reset could occur.

Environment

None

Assignee

Tengfei Chang

Reporter

john rubis

Labels

None

Story Points

5

Sprint

None

Fix versions

Affects versions

Priority

Critical
Configure