]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: libwx: Fix the size in RSS hash key population
authorChandra Mohan Sundar <chandramohan.explore@gmail.com>
Thu, 14 Aug 2025 16:30:10 +0000 (22:00 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 15 Aug 2025 19:38:53 +0000 (12:38 -0700)
commit12da2b92ad50e6602b4c5e9073d71f2368b70b63
tree99bcd27f5202f008e6e9079f2e50132aa931bd6f
parent79116acb75e11f7781fde8171e6d4a0e52de3e5d
net: libwx: Fix the size in RSS hash key population

While trying to fill a random RSS key, the size of the pointer
is being used rather than the actual size of the RSS key.

Fix by passing an appropriate value of the RSS key.
This issue was reported by static coverity analyser.

Fixes: eb4898fde1de8 ("net: libwx: add wangxun vf common api")
Signed-off-by: Chandra Mohan Sundar <chandramohan.explore@gmail.com>
Link: https://patch.msgid.link/20250814163014.613004-1-chandramohan.explore@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/wangxun/libwx/wx_vf_lib.c