commit | 891de74d693bb4fefe2efcc6432a4a9a9bee561e | [log] [tgz] |
---|---|---|
author | Haiyang Zhang <haiyangz@microsoft.com> | Wed Feb 12 16:54:27 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Feb 16 23:45:00 2014 -0500 |
tree | b252b8b3c1d2cd9cb25258f8545a64d10de1851d | |
parent | 09db30805300e9ed5ad43d4d339115cf1d9c84e1 [diff] |
hyperv: Fix the carrier status setting Without this patch, the "cat /sys/class/net/ethN/operstate" shows "unknown", and "ethtool ethN" shows "Link detected: yes", when VM boots up with or without vNIC connected. This patch fixed the problem. Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com> Reviewed-by: K. Y. Srinivasan <kys@microsoft.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>