netvsc: force link update after MTU change
authorstephen hemminger <stephen@networkplumber.org>
Wed, 19 Jul 2017 18:53:12 +0000 (11:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jul 2017 05:20:05 +0000 (22:20 -0700)
commit1b01994aa6f9bad60d2b162c17dca530c21e2687
tree93707814d0484d4e9e1be941eb8baa4eba742e42
parent9492f4269e6bf3c857412b464ce77bd84e7a81f9
netvsc: force link update after MTU change

If two MTU changes are in less than update interval (2 seconds),
then the netvsc network device may get stuck with no carrier.

The netvsc driver debounces link status events which is fine
for unsolicited updates, but blocks getting the update after
down/up from MTU reinitialization.

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