nft_data_release(9)
π nft_data_release(9) π
okay bestie, welcome to the nft_data_release(9) page β this is a Kernel API Manual moment, and honestly? it's a short one, so we're gonna soak up every crumb β¨
πΈ NAME πΈ
nft_data_release β the function that lets a nft_data item go π¦ (release a nft_data item, no cap)
π SYNOPSIS π
void nft_data_release (const struct nft_data *data , enum nft_data_types
type );
like, that's the whole signature. void return, so nothing comes back at you β it just does the thing π«Ά
β ARGUMENTS β
dataβ thestruct nft_datayou want to release, bestie. that's the thing getting set free πtypeβ the type of that data. yes, it matters. keep reading π
π₯ DESCRIPTION π₯
okay so this is where it gets good. nft_data_release releases a nft_data item. periodt.
but here's the tea: NFT_DATA_VALUE types can be silently discarded π β like, nothing to do, they just vibe away. all others, though? they need to be released by calling this function. no shortcuts, no skipping, iykyk π
like literally don't forget the non-NFT_DATA_VALUE ones bestie, they're not gonna free themselves π
π¦ SEE ALSO π¦
the Kernel file lives at ./net/netfilter/nf_tables_api.c and it's giving main character energy. go say hi to its friends too π:
nft_register_expr(9)nft_unregister_expr(9)nft_data_hold(9)nft_register_obj(9)nft_unregister_obj(9)nft_parse_u32_check(9)nft_dump_register(9)nft_data_init(9)
and that's the whole page, bestie π this lil icon comes from ./net/netfilter and it's dated October 2026 β so yeah, we're reading from the future, lowkey iconic πβ¨ slay! π
π
π¦ 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