diff options
| author | Steven Rostedt (Google) <[email protected]> | 2022-07-05 18:37:41 -0400 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2022-07-15 13:35:59 -0400 |
| commit | 43b2aef3735e0ddb4fc4e6401cd5dc1bf205dead (patch) | |
| tree | 7c0946601b3986cc811211d4358ba46169d7c38a /tools/perf/scripts/python/netdev-times.py | |
| parent | fca8300f68fe3fbb2fcda862f0f114011715b3bc (diff) | |
neighbor: tracing: Have neigh_create event use __string()
The dev field of the neigh_create event uses __dynamic_array() with a
fixed size, which defeats the purpose of __dynamic_array(). Looking at the
logic, as it already uses __assign_str(), just use the same logic in
__string to create the size needed. It appears that because "dev" can be
NULL, it needs the check. But __string() can have the same checks as
__assign_str() so use them there too.
Link: https://lkml.kernel.org/r/[email protected]
Cc: David Ahern <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: [email protected]
Acked-by: Jakub Kicinski <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions