diff options
author | zec <zec@FreeBSD.org> | 2009-06-01 21:10:23 +0000 |
---|---|---|
committer | zec <zec@FreeBSD.org> | 2009-06-01 21:10:23 +0000 |
commit | 9956d85f164d16d3c1db67cc01f521c1c09d5fdb (patch) | |
tree | cf619cff8ef5bc465a292b74085a9729ef461e40 /sys/dev/cxgb/ulp | |
parent | 47cd93cd05c339642762cd33b1b61c7be8a392ee (diff) | |
download | FreeBSD-src-9956d85f164d16d3c1db67cc01f521c1c09d5fdb.zip FreeBSD-src-9956d85f164d16d3c1db67cc01f521c1c09d5fdb.tar.gz |
Update VNET base pointer setting macro to use a correct source of
vnet context.
Approved by: julian (mentor)
Diffstat (limited to 'sys/dev/cxgb/ulp')
-rw-r--r-- | sys/dev/cxgb/ulp/tom/cxgb_cpl_io.c | 2 |
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) |