Update VNET base pointer setting macro to use a correct source of

vnet context.

Approved by:	julian (mentor)
This commit is contained in:
Marko Zec 2009-06-01 21:10:23 +00:00
parent 5bb0de0503
commit b2bc853659
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193270

View File

@ -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)