OSDN Git Service

hv_netvsc: Add error handling while switching data path
authorHaiyang Zhang <haiyangz@microsoft.com>
Mon, 29 Mar 2021 23:21:35 +0000 (16:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 23:35:59 +0000 (16:35 -0700)
commitd0922bf7981799fd86e248de330fb4152399d6c2
treeeaf3f9ef4abb68c4788133904ed8c1966a5f9a5e
parentd24f511b04b8b159b705ec32a3b8782667d1b06a
hv_netvsc: Add error handling while switching data path

Add error handling in case of failure to send switching data path message
to the host.

Reported-by: Shachar Raindel <shacharr@microsoft.com>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/netvsc_drv.c