svn commit: r321409 - head/sys/dev/hyperv/netvsc

Sepherosa Ziehau sephe at FreeBSD.org
Mon Jul 24 04:00:44 UTC 2017


Author: sephe
Date: Mon Jul 24 04:00:43 2017
New Revision: 321409
URL: https://svnweb.freebsd.org/changeset/base/321409

Log:
  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

Modified:
  head/sys/dev/hyperv/netvsc/if_hn.c

Modified: head/sys/dev/hyperv/netvsc/if_hn.c
==============================================================================
--- head/sys/dev/hyperv/netvsc/if_hn.c	Mon Jul 24 03:59:50 2017	(r321408)
+++ head/sys/dev/hyperv/netvsc/if_hn.c	Mon Jul 24 04:00:43 2017	(r321409)
@@ -5574,6 +5574,7 @@ hn_rndis_rx_status(struct hn_softc *sc, const void *da
 		break;
 
 	case RNDIS_STATUS_TASK_OFFLOAD_CURRENT_CONFIG:
+	case RNDIS_STATUS_LINK_SPEED_CHANGE:
 		/* Not really useful; ignore. */
 		break;
 


More information about the svn-src-all mailing list