Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 15:34:24 +0000 (UTC)
From:      =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= <royger@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289591 - head/sys/dev/xen/netfront
Message-ID:  <201510191534.t9JFYO2e038416@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510191534.t9JFYO2e038416>