mac802154_flush_list(9)
πΈ NAME πΈ
okay bestie, this is mac802154_flush_list(9) from the Kernel API Manual, and it's giving βfree queued RX frames on @listβ β¨ literally that's the whole name, no cap π
β¨ SYNOPSIS β¨
the signature is lowkey simple:
void mac802154_flush_list (struct list_head *list , struct
ieee802154_sub_if_data *sdata );
π ARGUMENTS π
listβ it'srx_beacon_listorrx_mac_cmd_list, bestie π«Ά pick your queue.sdataβ only free frames received on this interface, orNULLfor all. yep,NULLmeans βdo the whole thingβ π
π DESCRIPTION π
okay so here's the tea β: each frame pins the net_device it was received on (via netdev_hold), so you gotta release that reference as the frame is dropped. no leaving refs hanging, periodt π
β οΈ important vibe check: the caller must hold local->rx_lock. not optional, bestie β fr fr π
π₯ SEE ALSO π₯
- Kernel file
./net/mac802154/rx.c mac802154_flush_queued_pkts(9)
mwah π this little icon lives in ./net/mac802154, is dated October 2026, and is the mac802154_flush_list(9) page. byeee π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms