]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
cxgb4: add forgotten u64 ivlan cast before shift
authorNikolay Kuratov <kniv@yandex-team.ru>
Mon, 19 Aug 2024 07:54:08 +0000 (10:54 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Aug 2024 15:36:09 +0000 (17:36 +0200)
commit43427f98ca061d9ca29e172d2855d53148af87f4
tree14fe9d35c1a53a7f64ecb60f350ab196e5ba161a
parent709e4c8f78e156ab332297bdd87527ec3da4e2d4
cxgb4: add forgotten u64 ivlan cast before shift

commit 80a1e7b83bb1834b5568a3872e64c05795d88f31 upstream.

It is done everywhere in cxgb4 code, e.g. in is_filter_exact_match()
There is no reason it should not be done here

Found by Linux Verification Center (linuxtesting.org) with SVACE

Signed-off-by: Nikolay Kuratov <kniv@yandex-team.ru>
Cc: stable@vger.kernel.org
Fixes: 12b276fbf6e0 ("cxgb4: add support to create hash filters")
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20240819075408.92378-1-kniv@yandex-team.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c