mirror-linux/drivers/net
Aditya Garg d235649558 net: hv_netvsc: reject RSS hash key programming without RX indirection table
RSS configuration requires a valid RX indirection table. When the device
reports a single receive queue, rndis_filter_device_add() does not
allocate an indirection table, accepting RSS hash key updates in this
state leads to a hang.

Fix this by gating netvsc_set_rxfh() on ndc->rx_table_sz and return
-EOPNOTSUPP when the table is absent. This aligns set_rxfh with the device
capabilities and prevents incorrect behavior.

Fixes: 962f3fee83 ("netvsc: add ethtool ops to get/set RSS key")
Signed-off-by: Aditya Garg <gargaditya@linux.microsoft.com>
Reviewed-by: Dipayaan Roy <dipayanroy@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Link: https://patch.msgid.link/1768212093-1594-1-git-send-email-gargaditya@linux.microsoft.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-01-13 19:07:31 -08:00
..
arcnet
bonding
caif
can can: ctucanfd: fix SSP_SRC in cases when bit-rate is higher than 1 MBit. 2026-01-09 14:26:29 +01:00
dsa Revert "dsa: mv88e6xxx: make serdes SGMII/Fiber tx amplitude configurable" 2026-01-06 16:53:18 -08:00
ethernet net: octeon_ep_vf: fix free_irq dev_id mismatch in IRQ rollback 2026-01-12 09:04:52 -08:00
fddi
fjes fjes: Add missing iounmap in fjes_hw_init() 2025-12-22 12:11:32 +01:00
hamradio
hippi
hyperv net: hv_netvsc: reject RSS hash key programming without RX indirection table 2026-01-13 19:07:31 -08:00
ieee802154
ipa
ipvlan ipvlan: Ignore PACKET_LOOPBACK in handle_mode_l2() 2025-12-04 13:43:12 +01:00
mctp I3C for 6.19 2025-12-08 11:25:14 +09:00
mdio net: mdio: rtl9300: use scoped for loops 2025-12-28 08:55:48 +01:00
netdevsim net: netdevsim: fix inconsistent carrier state after link/unlink 2026-01-06 18:04:00 -08:00
ovpn tools: ynl-gen: add regeneration comment 2025-11-25 19:20:42 -08:00
pcs net: pcs: lynx: accept in-band autoneg for 2500base-x 2025-12-01 13:50:15 -08:00
phy net: phy: motorcomm: fix duplex setting error for phy leds 2026-01-12 18:01:09 -08:00
plip
ppp
pse-pd
slip
team team: fix check for port enabled in team_queue_override_port_prio_changed() 2025-12-23 09:07:48 +01:00
thunderbolt
usb net: usb: pegasus: fix memory leak in update_eth_regs_async() 2026-01-08 08:40:20 -08:00
vmxnet3
vxlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-12-02 15:37:53 -08:00
wan
wireguard Networking changes for 6.19. 2025-12-03 17:24:33 -08:00
wireless Including fixes from netfilter and wireless. 2026-01-08 08:40:35 -10:00
wwan net: wwan: iosm: Fix memory leak in ipc_mux_deinit() 2026-01-04 10:46:38 -08:00
xen-netback
Kconfig
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
loopback.c
macsec.c
macvlan.c macvlan: fix possible UAF in macvlan_forward_source() 2026-01-09 18:16:06 -08:00
macvtap.c
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
netkit.c
nlmon.c
ntb_netdev.c
pfcp.c
rionet.c
sungem_phy.c
tap.c
tun.c
tun_vnet.h virtio-net: avoid unnecessary checksum calculation on guest RX 2025-11-26 19:45:54 -08:00
veth.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2025-11-27 12:19:08 -08:00
virtio_net.c virtio-net: clean up __virtnet_rx_pause/resume 2026-01-10 11:13:02 -08:00
vrf.c
vsockmon.c
xen-netfront.c