Thread (28 messages) 28 messages, 9 authors, 24d ago

Re: [PATCH net-next v2 03/11] net: document NETDEV_CHANGENAME as ops locked

From: Jakub Sitnicki <jakub@cloudflare.com>
Date: 2026-06-03 12:47:15
Also in: linux-leds

On Tue, Jun 02, 2026 at 06:28 PM -07, Jakub Kicinski wrote:
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.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
---
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help