diff options
author | 2023-01-24 17:34:32 +0200 | |
---|---|---|
committer | 2023-03-15 15:50:17 -0700 | |
commit | dd64572490c3d7aab04083db8791fab157a941ed (patch) | |
tree | 3712066978d808662f93e5319fa9a3d490233dc3 /scripts/generate_rust_analyzer.py | |
parent | net/mlx5e: Fix cleanup null-ptr deref on encap lock (diff) | |
download | wireguard-linux-dd64572490c3d7aab04083db8791fab157a941ed.tar.xz wireguard-linux-dd64572490c3d7aab04083db8791fab157a941ed.zip |
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 <gal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions