diff options
author | Jakub Kicinski <[email protected]> | 2023-10-23 08:23:41 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-24 13:02:58 -0700 |
commit | bd07063dd11f6fda903802a5868960be3690d327 (patch) | |
tree | 74f0a0bf84d4649f6686d685b416b4826a320462 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | fb1c535b13b7fa013e70265535182638ef2f04d6 (diff) |
net: don't use input buffer of __dev_alloc_name() as a scratch space
Callers of __dev_alloc_name() want to pass dev->name as
the output buffer. Make __dev_alloc_name() not clobber
that buffer on failure, and remove the workarounds
in callers.
dev_alloc_name_ns() is now completely unnecessary.
The extra strscpy() added here will be gone by the end
of the patch series.
Reviewed-by: Jiri Pirko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions