summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
index 34e3b03..96a0dc8 100644
--- a/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
+++ b/sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c
@@ -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)
OpenPOWER on IntegriCloud