diff options
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r-- | sys/netinet/tcp_input.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index c1ab6fc..8662ffc 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -760,8 +760,7 @@ findpcb: */ if (thflags & TH_SYN) tcp_dooptions(&to, optp, optlen, 1); - if (tcp_timewait((struct tcptw *)inp->inp_ppcb, - &to, th, m, tlen)) + if (tcp_timewait(intotw(inp), &to, th, m, tlen)) goto findpcb; /* * tcp_timewait unlocks inp. |