mac802154_flush_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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's rx_beacon_list or rx_mac_cmd_list, bestie 🫢 pick your queue.
  • sdata β€” only free frames received on this interface, or NULL for all. yep, NULL means β€œ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 πŸ”₯


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