__bond_opt_set_notify(9)
β¨ __bond_opt_set_notify(9) β¨
okay so this is a page from the Kernel API Manual and bestie, it's a good one β it's all about setting a bonding option and then telling everyone about it π
πΈ NAME πΈ
__bond_opt_set_notify β set a bonding option, no cap π
π¦ SYNOPSIS π¦
int __bond_opt_set_notify (struct bonding *bond , unsigned int option ,
struct bond_opt_value *val );
π ARGUMENTS π
bondβ the target bond device, like the main character of this whole operation πoptionβ the option you're setting, i.e. which thing you're changingvalβ the value you're setting it to, the actual vibe you're giving that option β¨
π₯ DESCRIPTION π₯
So here's the tea: this function is what you call to change the bond's option value and trigger a notification off to user space at the same time. Two birds, one slay. π«Ά
It's flexible like that β you can use it for both enabling/changing an option and for disabling it. Turning things on, turning things off, whatever, it handles it.
β οΈ but fr fr, listen: RTNL lock must be obtained before calling this function. Not optional, bestie. Get that lock first or it's giving chaos. π
π SEE ALSO π
Kernel file ./drivers/net/bonding/bond_options.c, plus the whole friend group:
bond_opt_parse(9)__bond_opt_set(9)bond_opt_tryset_rtnl(9)bond_opt_get(9)slave_set_ns_maddrs(9)slave_set_ns_maddr(9)
and that's the page!! π mwah π this one lives in ./drivers/net/bonding, dated October 2026 β bye bestie, go get that RTNL lock first ππ§
π¦ 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