Skip to content
Commit a4a48030 authored by Haiyang Zhang's avatar Haiyang Zhang Committed by Paul Gortmaker
Browse files

hv_netvsc: Fix tx_table init in rndis_set_subchannel()



commit c39ea5cb upstream.

Host can provide send indirection table messages anytime after RSS is
enabled by calling rndis_filter_set_rss_param(). So the host provided
table values may be overwritten by the initialization in
rndis_set_subchannel().

To prevent this problem, move the tx_table initialization before calling
rndis_filter_set_rss_param().

Fixes: a6fb6aa3 ("hv_netvsc: Set tx_table to equal weight after subchannels open")
Signed-off-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarJakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 088e1438
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment