summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-09-14 12:58:26 +0300
committerJakub Kicinski <kuba@kernel.org>2024-09-15 08:38:56 -0700
commitbe461814aa4cb32aae061404b9a6a83ef3895018 (patch)
treefbf56f18548ad55d768746fc60ca33e6681b00cd /net/netfilter
parent472d455e7c6f32e6ae4738de8e6ba212db372661 (diff)
downloadlinux-be461814aa4cb32aae061404b9a6a83ef3895018.tar.gz
linux-be461814aa4cb32aae061404b9a6a83ef3895018.tar.bz2
linux-be461814aa4cb32aae061404b9a6a83ef3895018.zip
net/mlx5: HWS, check the correct variable in hws_send_ring_alloc_sq()
There is a copy and paste bug so this code checks "sq->dep_wqe" where "sq->wr_priv" was intended. It could result in a NULL pointer dereference. Fixes: 2ca62599aa0b ("net/mlx5: HWS, added send engine and context handling") Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/da822315-02b7-4f5b-9c86-0d5176c5069d@stanley.mountain Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions