diff options
| author | Eric Dumazet <edumazet@google.com> | 2026-05-25 11:35:39 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-27 05:20:15 +0300 |
| commit | 00888feb601497a58ed363aae13be01b55d8a028 (patch) | |
| tree | c7ecd95ab35da76ca72ca49f4ae3d707068eae5a /include/linux/debugobjects.h | |
| parent | 73a7c8fb2302ae78920b210c098b752b9caa6bf6 (diff) | |
| download | linux-00888feb601497a58ed363aae13be01b55d8a028.tar.xz | |
net: defer netdev_name_node_alt_flush() call to netdev_run_todo()
In the following patch, we want to call rtnl_fill_prop_list() without
RTNL being held, but after a device reference was taken.
We need to free altnames in netdev_run_todo() instead of
unregister_netdevice_many_notify().
Freeing will only happen once all device references
have been released.
Note that dev->name_node serves as the anchor for altnames,
thus must be also freed in netdev_run_todo().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260525083542.1565964-3-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
