From 40905afa0f84819a2d9a54f006a8d9340aa557fb Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Mon, 24 Jul 2017 04:00:43 +0000 Subject: [PATCH] hyperv/hn: Ignore LINK_SPEED_CHANGE status. This status will be reported if the backend NIC is wireless; it's not useful. Due to the high frequency of the reporting, this could be pretty annoying; ignore it. MFC after: 3 days Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11651 --- sys/dev/hyperv/netvsc/if_hn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/hyperv/netvsc/if_hn.c b/sys/dev/hyperv/netvsc/if_hn.c index bb138f25825..d819e72f1bd 100644 --- a/sys/dev/hyperv/netvsc/if_hn.c +++ b/sys/dev/hyperv/netvsc/if_hn.c @@ -5574,6 +5574,7 @@ hn_rndis_rx_status(struct hn_softc *sc, const void *data, int dlen) break; case RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG: + case RNDIS_STATUS_LINK_SPEED_CHANGE: /* Not really useful; ignore. */ break;