net: ethtool: copy input_xfrm to user-space in ethtool_get_rxfh
authorAhmed Zaki <ahmed.zaki@intel.com>
Thu, 21 Dec 2023 18:42:34 +0000 (11:42 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 3 Jan 2024 00:00:06 +0000 (16:00 -0800)
commit7c402f77e8cb6dd593217270e2643eeba1a89b01
treec101fad4d7c6ccac7b8847d072a534c1914ef108
parent8dc4c410006531ddad981ca9578f83cb93860819
net: ethtool: copy input_xfrm to user-space in ethtool_get_rxfh

The ioctl path of ethtool's get channels is missing the final step of
copying the new input_xfrm field to user-space. This should have been
part of [1].

Link: https://lore.kernel.org/netdev/20231213003321.605376-1-ahmed.zaki@intel.com/
Fixes: 13e59344fb9d ("net: ethtool: add support for symmetric-xor RSS hash")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Ahmed Zaki <ahmed.zaki@intel.com>
Link: https://lore.kernel.org/r/20231221184235.9192-2-ahmed.zaki@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ethtool/ioctl.c