aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/pmtu.sh
diff options
context:
space:
mode:
authorHaiyang Zhang <haiyangz@microsoft.com>2019-12-19 18:28:10 -0800
committerDavid S. Miller <davem@davemloft.net>2019-12-20 21:50:38 -0800
commitb0689faa8efc5a3391402d7ae93bd373b7248e51 (patch)
tree883fa0ec5263f9d899e9c702be14abd67256c7a7 /tools/testing/selftests/net/pmtu.sh
parentnet: phy: ensure that phy IDs are correctly typed (diff)
downloadlinux-dev-b0689faa8efc5a3391402d7ae93bd373b7248e51.tar.xz
linux-dev-b0689faa8efc5a3391402d7ae93bd373b7248e51.zip
hv_netvsc: Fix unwanted rx_table reset
In existing code, the receive indirection table, rx_table, is in struct rndis_device, which will be reset when changing MTU, ringparam, etc. User configured receive indirection table values will be lost. To fix this, move rx_table to struct net_device_context, and check netif_is_rxfh_configured(), so rx_table will be set to default only if no user configured value. Fixes: ff4a44199012 ("netvsc: allow get/set of RSS indirection table") Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/net/pmtu.sh')
0 files changed, 0 insertions, 0 deletions