diff options
author | Gal Pressman <[email protected]> | 2023-01-24 17:34:32 +0200 |
---|---|---|
committer | Saeed Mahameed <[email protected]> | 2023-03-15 15:50:17 -0700 |
commit | dd64572490c3d7aab04083db8791fab157a941ed (patch) | |
tree | 3712066978d808662f93e5319fa9a3d490233dc3 /drivers/usb/cdns3/cdns3-imx.c | |
parent | c9668f0b1d28570327dbba189f2c61f6f9e43ae7 (diff) |
net/mlx5e: kTLS, Fix missing error unwind on unsupported cipher type
Do proper error unwinding when adding an unsupported TX/RX cipher type.
Move the switch case prior to key creation so there's less to unwind,
and change the goto label name to describe the action performed instead
of what failed.
Fixes: 4960c414db35 ("net/mlx5e: Support 256 bit keys with kTLS device offload")
Signed-off-by: Gal Pressman <[email protected]>
Reviewed-by: Tariq Toukan <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions