diff options
| author | Jakub Kicinski <kuba@kernel.org> | 2026-06-02 18:28:32 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-04 14:04:55 -0700 |
| commit | b8dfa196cb978815543a36bbdd077f4a161e160d (patch) | |
| tree | 9996b1572bc2f89a3ad7003f1b5c44be6424a74e /include/linux | |
| parent | 1d3964e29e53b02a7c61ed6d6e4aeccba3275ebc (diff) | |
net: document NETDEV_CHANGENAME as ops locked
NETDEV_CHANGENAME is only emitted from netif_change_name().
netif_change_name() has two callers both of which hold netdev_lock_ops()
around the call site:
- dev_change_name()
- do_setlink()
Document NETDEV_CHANGENAME as always ops locked.
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://patch.msgid.link/20260603012840.2254293-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
