diff options
author | 2020-08-20 14:53:14 -0700 | |
---|---|---|
committer | 2020-08-20 16:24:00 -0700 | |
commit | 4d820543c54c47a2bd3c95ddbf52f83c89a219a0 (patch) | |
tree | b0a6ecd53f5b3c5804cb2e859c42537e5f3a5775 /net/unix/af_unix.c | |
parent | net/smc: Prevent kernel-infoleak in __smc_diag_dump() (diff) | |
download | wireguard-linux-4d820543c54c47a2bd3c95ddbf52f83c89a219a0.tar.xz wireguard-linux-4d820543c54c47a2bd3c95ddbf52f83c89a219a0.zip |
hv_netvsc: Remove "unlikely" from netvsc_select_queue
When using vf_ops->ndo_select_queue, the number of queues of VF is
usually bigger than the synthetic NIC. This condition may happen
often.
Remove "unlikely" from the comparison of ndev->real_num_tx_queues.
Fixes: b3bf5666a510 ("hv_netvsc: defer queue selection to VF")
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions