summaryrefslogtreecommitdiff
path: root/Documentation/networking
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-06-02 18:28:32 -0700
committerJakub Kicinski <kuba@kernel.org>2026-06-04 14:04:55 -0700
commitb8dfa196cb978815543a36bbdd077f4a161e160d (patch)
tree9996b1572bc2f89a3ad7003f1b5c44be6424a74e /Documentation/networking
parent1d3964e29e53b02a7c61ed6d6e4aeccba3275ebc (diff)
downloadlinux-next-b8dfa196cb978815543a36bbdd077f4a161e160d.tar.gz
linux-next-b8dfa196cb978815543a36bbdd077f4a161e160d.zip
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 'Documentation/networking')
-rw-r--r--Documentation/networking/netdevices.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/networking/netdevices.rst b/Documentation/networking/netdevices.rst
index 60492d4df2ee..8fc96975b3bd 100644
--- a/Documentation/networking/netdevices.rst
+++ b/Documentation/networking/netdevices.rst
@@ -415,6 +415,7 @@ The following netdev notifiers are always run under the instance lock:
For devices with locked ops, currently only the following notifiers are
running under the lock:
* ``NETDEV_CHANGE``
+* ``NETDEV_CHANGENAME``
* ``NETDEV_REGISTER``
* ``NETDEV_UP``