bearer_disable(9)
π bearer_disable(9) β from the Kernel API Manual, bestie
okay so picture this: it's a kernel API manual page, it's called bearer_disable(9), and it's about to tell you how to shut a bearer allll the way down. no cap. let's get into it π
β¨ NAME β¨
bearer_disable β literally just "disable this bearer." that's the whole assignment, and she ate. π
πΈ SYNOPSIS πΈ
void bearer_disable (struct net *net , struct tipc_bearer *b );
like, she returns void β she gives nothing back and she's iconic for it. π«Ά
π¦ ARGUMENTS π¦
netβ the applicable net namespace. like, which net world are we operating in? that one. πbβ the bearer to disable. yes queen, this bearer, the one you're pointing at. π
β οΈ NOTE β οΈ
okay so real talk, not me being dramatic but this routine assumes the caller holds the RTNL lock. that's not a suggestion, that's not a vibe check you can skip β if you don't hold it, that's on you, and it's giving undefined chaos. π hold the lock, bestie. periodt.
π SEE ALSO π
all the kernel file girlies, over in ./net/tipc/bearer.c β go say hi to:
tipc_media_find(9)media_find_id(9)tipc_media_addr_printf(9)bearer_name_validate(9)tipc_bearer_find(9)tipc_enable_bearer(9)tipc_reset_bearer(9)tipc_l2_send_msg(9)tipc_l2_rcv_msg(9)tipc_l2_device_event(9)
they're all in the same friend group, iykyk. π§β¨
aaaand that's the page! brought to you by ./net/tipc, dated October 2026, and yes she signs her name at the bottom: bearer_disable(9). slay, stay locked, bye bestie ππ₯
π¦ 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