tcp: fix RACK and BBR when using VIMAGE enabled kernel
Fix a bug in VNET handling, which occurs when using specific NICs. PR: 257195 Reviewed by: rrs MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D31212
This commit is contained in:
parent
79e6eb5c01
commit
a730d82378
@ -508,16 +508,18 @@ skip_vnet:
|
||||
m_freem(m);
|
||||
m = m_save;
|
||||
}
|
||||
if (no_vn == 0)
|
||||
if (no_vn == 0) {
|
||||
CURVNET_RESTORE();
|
||||
}
|
||||
INP_UNLOCK_ASSERT(inp);
|
||||
return(retval);
|
||||
}
|
||||
skipped_pkt:
|
||||
m = m_save;
|
||||
}
|
||||
if (no_vn == 0)
|
||||
if (no_vn == 0) {
|
||||
CURVNET_RESTORE();
|
||||
}
|
||||
return(retval);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user