diff options
| author | 2025-11-09 11:37:49 +0200 | |
|---|---|---|
| committer | 2025-11-11 15:05:44 +0100 | |
| commit | 0bcd5b3b50cc1fcbf775479322cc37c15d35a489 (patch) | |
| tree | 2e69203425afc044ddbc2336f1a1dfa47336ee9e /lib/livepatch/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | Merge branch 'net-sched-initialize-struct-tc_ife-to-fix-kernel-infoleak' (diff) | |
| download | wireguard-linux-0bcd5b3b50cc1fcbf775479322cc37c15d35a489.tar.xz wireguard-linux-0bcd5b3b50cc1fcbf775479322cc37c15d35a489.zip | |
net/mlx5e: Fix missing error assignment in mlx5e_xfrm_add_state()
Assign the return value of mlx5_eswitch_block_mode() to 'err' before
checking it to avoid returning an uninitialized error code.
Fixes: 22239eb258bc ("net/mlx5e: Prevent tunnel reformat when tunnel mode not allowed")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/202510271649.uwsIxD6O-lkp@intel.com/
Closes: http://lore.kernel.org/linux-rdma/aPIEK4rLB586FdDt@stanley.mountain/
Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Jianbo Liu <jianbol@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1762681073-1084058-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/livepatch/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
