netvsc: handle offline mtu and channel change
authorstephen hemminger <stephen@networkplumber.org>
Wed, 22 Mar 2017 21:50:58 +0000 (14:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:38:55 +0000 (19:38 -0700)
commit163891d7d42935e7499daa0646a8eb3c44504300
treecad7641b0019b4955124fa00ec7e4ba142ad91aa
parentf4f1c23d6e41f5ee4973a6da65cba1e1c536ec29
netvsc: handle offline mtu and channel change

If device is not up, then changing MTU (or number of channels)
should not re-enable the device.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/netvsc_drv.c