diff options
author | 2024-03-18 10:19:08 +0100 | |
---|---|---|
committer | 2024-03-19 19:37:57 -0700 | |
commit | 78a2f5e6c15d8dcbd6495bb9635c7cb89235dfc5 (patch) | |
tree | e7acd384ca8c025b1ac5c80f5aef8c0dc79137e1 /drivers/md/dm-thin-metadata.h | |
parent | tcp: Clear req->syncookie in reqsk_alloc(). (diff) | |
download | linux-78a2f5e6c15d8dcbd6495bb9635c7cb89235dfc5.tar.gz linux-78a2f5e6c15d8dcbd6495bb9635c7cb89235dfc5.tar.bz2 linux-78a2f5e6c15d8dcbd6495bb9635c7cb89235dfc5.zip |
devlink: fix port new reply cmd type
Due to a c&p error, port new reply fills-up cmd with wrong value,
any other existing port command replies and notifications.
Fix it by filling cmd with value DEVLINK_CMD_PORT_NEW.
Skimmed through devlink userspace implementations, none of them cares
about this cmd value.
Reported-by: Chenyuan Yang <chenyuan0y@gmail.com>
Closes: https://lore.kernel.org/all/ZfZcDxGV3tSy4qsV@cy-server/
Fixes: cd76dcd68d96 ("devlink: Support add and delete devlink port")
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Link: https://lore.kernel.org/r/20240318091908.2736542-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/md/dm-thin-metadata.h')
0 files changed, 0 insertions, 0 deletions