Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2009 21:10:23 +0000 (UTC)
From:      Marko Zec <zec@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r193270 - head/sys/dev/cxgb/ulp/tom
Message-ID:  <200906012110.n51LANuj092212@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zec
Date: Mon Jun  1 21:10:23 2009
New Revision: 193270
URL: http://svn.freebsd.org/changeset/base/193270

Log:
  Update VNET base pointer setting macro to use a correct source of
  vnet context.
  
  Approved by:	julian (mentor)

Modified:
  head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c

Modified: head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
==============================================================================
--- head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c	Mon Jun  1 21:10:19 2009	(r193269)
+++ head/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c	Mon Jun  1 21:10:23 2009	(r193270)
@@ -1219,7 +1219,7 @@ install_offload_ops(struct socket *so)
 static __inline int
 select_rcv_wscale(int space, struct vnet *vnet)
 {
-	INIT_VNET_INET(so->so_vnet);
+	INIT_VNET_INET(vnet);
 	int wscale = 0;
 
 	if (space > MAX_RCV_WND)



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