tcf_em_unregister(9)
β¨ tcf_em_unregister(9) β¨
okay so bestie, we're in the Kernel API Manual today and this one's a lil goodbye note π«Ά it lives in tcf_em_unregister(9) land and it's short, sweet, and honestly kinda emotional.
π NAME π
tcf_em_unregister β unregister and extended match
(yes that's the exact wording, no I'm not fixing it, it's iconic as-is π)
π SYNOPSIS π
void tcf_em_unregister (struct tcf_ematch_ops *ops );
πΈ ARGUMENTS πΈ
opsβ the ematch operations lookup table, aka the whole personality of the ematch you're saying bye to π
π DESCRIPTION π
okay so here's the vibe: this function must be called by ematches to announce their disappearance, like when the module gets unloaded π it's the "i'm leaving the group chat" of kernel functions fr fr.
the ops parameter must be the same as the one used for registration β no swapping it out for a lookalike, bestie, it's gotta be the exact same one π
Returns -ENOENT if no matching ematch was found π so if you get that back, your ematch wasn't even there to begin with, awkward.
ngl this is a small function but skipping it is not the move β ematches need their little farewell moment or things get messy π
π¦ SEE ALSO π¦
- Kernel file
./net/sched/ematch.c(the mothership π«) tcf_em_register(9)tcf_em_tree_validate(9)tcf_em_tree_destroy(9)tcf_em_tree_dump(9)
and that's the whole page, bestie, slay β¨ this one came straight out of ./net/sched and it's dated October 2026 β signed, sealed, tcf_em_unregister(9), periodt π
π
π¦ 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