linux/net/ethtool
Jakub Kicinski 2b91cc1214 ethtool: ntuple: fix rss + ring_cookie check
The info.flow_type is for RXFH commands, ntuple flow_type is inside
the flow spec. The check currently does nothing, as info.flow_type
is 0 (or even uninitialized by user space) for ETHTOOL_SRXCLSRLINS.

Fixes: 9e43ad7a1e ("net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts in")
Reviewed-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250201013040.725123-3-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-03 18:38:58 -08:00
..
Makefile net: ethtool: Add support for tsconfig command to get/set hwtstamp config 2024-12-16 12:51:41 +00:00
bitset.c ethtool: Fix wrong mod state in case of verbose and no_mask bitset 2024-12-04 18:54:43 -08:00
bitset.h
cabletest.c
channels.c
cmis.h net: ethtool: Add support for writing firmware blocks using EPL payload 2024-10-13 18:02:50 +01:00
cmis_cdb.c net: ethtool: Add support for writing firmware blocks using EPL payload 2024-10-13 18:02:50 +01:00
cmis_fw_update.c net: ethtool: Add support for writing firmware blocks using EPL payload 2024-10-13 18:02:50 +01:00
coalesce.c
common.c net: ethtool: Use hwprov under rcu_read_lock 2025-01-10 18:14:24 -08:00
common.h net: ethtool: Add support for tsconfig command to get/set hwtstamp config 2024-12-16 12:51:41 +00:00
debug.c
eee.c
eeprom.c
features.c
fec.c
ioctl.c ethtool: ntuple: fix rss + ring_cookie check 2025-02-03 18:38:58 -08:00
linkinfo.c Revert "net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings" 2024-11-18 18:52:11 -08:00
linkmodes.c Revert "net: ethtool: Avoid thousands of -Wflex-array-member-not-at-end warnings" 2024-11-18 18:52:11 -08:00
linkstate.c net: ethtool: plumb PHY stats to PHY drivers 2025-01-14 11:44:19 +01:00
mm.c
module.c
module_fw.h
netlink.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-01-21 10:24:33 +01:00
netlink.h net: ethtool: add support for configuring hds-thresh 2025-01-15 14:42:11 -08:00
pause.c
phc_vclocks.c
phy.c
plca.c
privflags.c
pse-pd.c net: pse-pd: Split ethtool_get_status into multiple callbacks 2025-01-14 13:56:32 +01:00
rings.c net: ethtool: populate the default HDS params in the core 2025-01-20 11:44:58 -08:00
rss.c ethtool: rss: fix hiding unsupported fields in dumps 2025-02-03 18:38:52 -08:00
stats.c net: ethtool: add support for structured PHY statistics 2025-01-14 11:44:19 +01:00
strset.c net: ethtool: add support for structured PHY statistics 2025-01-14 11:44:19 +01:00
ts.h net: ethtool: tsinfo: Enhance tsinfo to support several hwtstamp by net topology 2024-12-16 12:51:41 +00:00
tsconfig.c net: ethtool: Add support for tsconfig command to get/set hwtstamp config 2024-12-16 12:51:41 +00:00
tsinfo.c net: ethtool: ts: add separate counter for unconfirmed one-step TX timestamps 2025-01-17 20:01:09 -08:00
tunnels.c
wol.c