Re: [PATCH net-next v2 10/12] net: ethtool: ioctl: concentrate the locking
From: Eric Dumazet <edumazet@google.com>
Date: 2026-06-09 15:46:14
From: Eric Dumazet <edumazet@google.com>
Date: 2026-06-09 15:46:14
On Thu, Jun 4, 2026 at 5:29 PM Jakub Kicinski [off-list ref] wrote:
Add another layer of helper functions to make upcoming locking changes easier. Otherwise we'd need a pretty complex goto structure. netdev instance lock is now taken slightly sooner but that should not be an issue since rtnl_lock is already held, anyway. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Eric Dumazet <edumazet@google.com>