svn commit: r289591 - head/sys/dev/xen/netfront

Roger Pau Monné royger at FreeBSD.org
Mon Oct 19 15:34:25 UTC 2015


Author: royger
Date: Mon Oct 19 15:34:24 2015
New Revision: 289591
URL: https://svnweb.freebsd.org/changeset/base/289591

Log:
  xen-netfront: use "netfront" in lock description
  
  Missed from r289585.
  
  Submitted by:		Wei Liu <wei.liu2 at citrix.com>
  Reviewed by:		royger
  Differential Revision:	https://reviews.freebsd.org/D3937
  Sponsored by:		Citrix Systems R&D

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c	Mon Oct 19 14:48:31 2015	(r289590)
+++ head/sys/dev/xen/netfront/netfront.c	Mon Oct 19 15:34:24 2015	(r289591)
@@ -1853,8 +1853,8 @@ create_netdev(device_t dev)
 
 	np->xbdev         = dev;
 
-	mtx_init(&np->tx_lock, "xntx", "network transmit lock", MTX_DEF);
-	mtx_init(&np->rx_lock, "xnrx", "network receive lock", MTX_DEF);
+	mtx_init(&np->tx_lock, "xntx", "netfront transmit lock", MTX_DEF);
+	mtx_init(&np->rx_lock, "xnrx", "netfront receive lock", MTX_DEF);
 	mtx_init(&np->sc_lock, "xnsc", "netfront softc lock", MTX_DEF);
 
 	ifmedia_init(&np->sc_media, 0, xn_ifmedia_upd, xn_ifmedia_sts);


More information about the svn-src-head mailing list