diff options
author | Parav Pandit <[email protected]> | 2020-11-11 05:47:44 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2020-11-12 08:06:57 -0800 |
commit | 9f73bd1c2c4c304b238051fc92b3f807326f0a89 (patch) | |
tree | 21791d4000eda8207664cbcb9461d1886dfee1ea /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9e2b7fa2df4365e99934901da4fb4af52d81e820 (diff) |
devlink: Avoid overwriting port attributes of registered port
Cited commit in fixes tag overwrites the port attributes for the
registered port.
Avoid such error by checking registered flag before setting attributes.
Fixes: 71ad8d55f8e5 ("devlink: Replace devlink_port_attrs_set parameters with a struct")
Signed-off-by: Parav Pandit <[email protected]>
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions