diff options
author | Oleksandr Mazur <[email protected]> | 2021-01-19 10:53:33 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-01-19 11:45:41 -0800 |
commit | 7e238de8283acd32c26c2bc2a50672d0ea862ff7 (patch) | |
tree | 0b9ee64e9426187e1d3d746ca9ea999e04a87290 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 9d9b1ee0b2d1c9e02b2338c4a4b0a062d2d3edac (diff) |
net: core: devlink: use right genl user_ptr when handling port param get/set
Fix incorrect user_ptr dereferencing when handling port param get/set:
idx [0] stores the 'struct devlink' pointer;
idx [1] stores the 'struct devlink_port' pointer;
Fixes: 637989b5d77e ("devlink: Always use user_ptr[0] for devlink and simplify post_doit")
CC: Parav Pandit <[email protected]>
Signed-off-by: Oleksandr Mazur <[email protected]>
Signed-off-by: Vadym Kochan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions