mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
tcp: fix build without INVARIANTS and VIMAGE
Lines from upcoming changes crept in and broke certain builds.
Fixes: 9eb0e8326d
This commit is contained in:
parent
e4bc19b2fa
commit
b40ae8c9fe
|
@ -250,9 +250,7 @@ tcp_timer_delack(void *xtp)
|
|||
{
|
||||
struct epoch_tracker et;
|
||||
struct tcpcb *tp = xtp;
|
||||
#if defined(INVARIANTS) || defined(VIMAGE)
|
||||
struct inpcb *inp = tptoinpcb(tp);
|
||||
#endif
|
||||
|
||||
INP_WLOCK(inp);
|
||||
CURVNET_SET(inp->inp_vnet);
|
||||
|
@ -536,9 +534,7 @@ tcp_timer_persist(void *xtp)
|
|||
{
|
||||
struct epoch_tracker et;
|
||||
struct tcpcb *tp = xtp;
|
||||
#if defined(INVARIANTS) || defined(VIMAGE)
|
||||
struct inpcb *inp = tptoinpcb(tp);
|
||||
#endif
|
||||
bool progdrop;
|
||||
int outrv;
|
||||
#ifdef TCPDEBUG
|
||||
|
|
Loading…
Reference in a new issue