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

vnet context.

Approved by:	julian (mentor)
This commit is contained in:
zec 2009-06-01 21:10:23 +00:00
parent 47cd93cd05
commit 9956d85f16

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)