diff options
| author | Jakub Kicinski <[email protected]> | 2025-02-01 01:30:38 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-04 02:38:58 +0000 |
| commit | 2b91cc1214b165c25ac9b0885db89a0d3224028a (patch) | |
| tree | c93a829357e24c2c8eff674668a42d633ea5adee /scripts/rustdoc_test_gen.rs | |
| parent | ethtool: rss: fix hiding unsupported fields in dumps (diff) | |
| download | kernel-2b91cc1214b165c25ac9b0885db89a0d3224028a.tar.gz kernel-2b91cc1214b165c25ac9b0885db89a0d3224028a.zip | |
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: 9e43ad7a1ede ("net: ethtool: only allow set_rxnfc with rss + ring_cookie if driver opts in")
Reviewed-by: Gal Pressman <[email protected]>
Reviewed-by: Joe Damato <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_gen.rs')
0 files changed, 0 insertions, 0 deletions
