svn commit: r193270 - head/sys/dev/cxgb/ulp/tom
Marko Zec
zec at FreeBSD.org
Mon Jun 1 21:10:24 UTC 2009
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)
More information about the svn-src-all
mailing list