net/netvsc: do not spin forever waiting for reply
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 19 May 2020 16:52:30 +0000 (09:52 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 28 May 2020 15:57:07 +0000 (17:57 +0200)
commit3c9be81be917e1659a3a9ab332c277280986ed03
tree8aee6a399f3570b929f6eaa01e4f43ff231161d7
parent501a7e57356420dd40bdf31e965741669b0e6457
net/netvsc: do not spin forever waiting for reply

Because of bugs in driver or host a reply to a request might
never occur. Better to give an error than spin forever.

Fixes: 4e9c73e96e83 ("net/netvsc: add Hyper-V network device")
Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
drivers/net/netvsc/hn_rndis.c