unregister_pernet_subsys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

unregister_pernet_subsys β€” unregister a network namespace subsystem. This is the Kernel API Manual page for it, bestie, and it's giving β€œcleanup era” energy πŸ’…βœ¨.


✨ SYNOPSIS ✨

void unregister_pernet_subsys (struct pernet_operations *ops );

🌸 ARGUMENTS 🌸

  • ops β€” the pernet operations structure to manipulate. That's it, that's the argument, no cap 🫢.

πŸ’– DESCRIPTION πŸ’–

Okay so here's the tea: unregister_pernet_subsys removes the pernet operations structure from the list that's used when network namespaces are created or destroyed. Literally removes it from the list, periodt ✨.

In addition β€” because it's an overachiever β€” it runs the exit method for all existing network namespaces. All of them, bestie πŸ˜­πŸ‘‘

Lowkey important detail: the removal-from-the-list part and the run-the-exit-method-for-all-existing-network-namespaces part are both in the description. Keep both in your brain, iykyk πŸ§šπŸ’œ.

πŸ¦‹ SEE ALSO πŸ¦‹

πŸ’Œ kiss kiss, source/version ./net/core, dated October 2026 β€” unregister_pernet_subsys(9) out! πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from