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 @@ ctf_process_inbound_raw(struct tcpcb *tp, struct socket *so, struct mbuf *m, int
|
|||||||
m_freem(m);
|
m_freem(m);
|
||||||
m = m_save;
|
m = m_save;
|
||||||
}
|
}
|
||||||
if (no_vn == 0)
|
if (no_vn == 0) {
|
||||||
CURVNET_RESTORE();
|
CURVNET_RESTORE();
|
||||||
|
}
|
||||||
INP_UNLOCK_ASSERT(inp);
|
INP_UNLOCK_ASSERT(inp);
|
||||||
return(retval);
|
return(retval);
|
||||||
}
|
}
|
||||||
skipped_pkt:
|
skipped_pkt:
|
||||||
m = m_save;
|
m = m_save;
|
||||||
}
|
}
|
||||||
if (no_vn == 0)
|
if (no_vn == 0) {
|
||||||
CURVNET_RESTORE();
|
CURVNET_RESTORE();
|
||||||
|
}
|
||||||
return(retval);
|
return(retval);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user