svn commit: r284342 - head/sys/dev/virtio/network

Bryan Venteicher bryanv at FreeBSD.org
Sat Jun 13 16:13:32 UTC 2015


Author: bryanv
Date: Sat Jun 13 16:13:31 2015
New Revision: 284342
URL: https://svnweb.freebsd.org/changeset/base/284342

Log:
  Fix typo when deregistering the VLAN unconfig event handler
  
  Submitted by:	Masao Uebayashi <uebayasi at tombiinc.com>
  MFC after:	3 days

Modified:
  head/sys/dev/virtio/network/if_vtnet.c

Modified: head/sys/dev/virtio/network/if_vtnet.c
==============================================================================
--- head/sys/dev/virtio/network/if_vtnet.c	Sat Jun 13 15:36:13 2015	(r284341)
+++ head/sys/dev/virtio/network/if_vtnet.c	Sat Jun 13 16:13:31 2015	(r284342)
@@ -443,7 +443,7 @@ vtnet_detach(device_t dev)
 		sc->vtnet_vlan_attach = NULL;
 	}
 	if (sc->vtnet_vlan_detach != NULL) {
-		EVENTHANDLER_DEREGISTER(vlan_unconfg, sc->vtnet_vlan_detach);
+		EVENTHANDLER_DEREGISTER(vlan_unconfig, sc->vtnet_vlan_detach);
 		sc->vtnet_vlan_detach = NULL;
 	}
 


More information about the svn-src-all mailing list