diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-01-15 18:55:43 +0900 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-16 17:20:50 -0800 |
commit | e361560a7912958ba3059f51e7dd21612d119169 (patch) | |
tree | 5c2f350308efc537e84ac3f6876f61b33ba9c2a1 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 8d20dcda404d48784f2359976811bfc189992aa0 (diff) |
dev: Acquire netdev_rename_lock before restoring dev->name in dev_change_name().
The cited commit forgot to add netdev_rename_lock in one of the
error paths in dev_change_name().
Let's hold netdev_rename_lock before restoring the old dev->name.
Fixes: 0840556e5a3a ("net: Protect dev->name by seqlock.")
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250115095545.52709-2-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions