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)
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to