summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_timewait.c
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2000-11-25 06:22:16 +0000
committerjlemon <jlemon@FreeBSD.org>2000-11-25 06:22:16 +0000
commit7f57729d27eabceea7b2d1da8e4daa1aff81d4b1 (patch)
treecc6169b9cadd74990e10fb85cf75f28ebdc92693 /sys/netinet/tcp_timewait.c
parent534ec06045a1b2160fd3a756ac756a510819841d (diff)
downloadFreeBSD-src-7f57729d27eabceea7b2d1da8e4daa1aff81d4b1.zip
FreeBSD-src-7f57729d27eabceea7b2d1da8e4daa1aff81d4b1.tar.gz
Revert the last commit to the callout interface, and add a flag to
callout_init() indicating whether the callout is safe or not. Update the callers of callout_init() to reflect the new interface. Okayed by: Jake
Diffstat (limited to 'sys/netinet/tcp_timewait.c')
-rw-r--r--sys/netinet/tcp_timewait.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c
index c3616a5..64302c6 100644
--- a/sys/netinet/tcp_timewait.c
+++ b/sys/netinet/tcp_timewait.c
@@ -490,11 +490,11 @@ tcp_newtcpcb(inp)
tcp_mssdflt;
/* Set up our timeouts. */
- callout_init(tp->tt_rexmt = &it->inp_tp_rexmt);
- callout_init(tp->tt_persist = &it->inp_tp_persist);
- callout_init(tp->tt_keep = &it->inp_tp_keep);
- callout_init(tp->tt_2msl = &it->inp_tp_2msl);
- callout_init(tp->tt_delack = &it->inp_tp_delack);
+ callout_init(tp->tt_rexmt = &it->inp_tp_rexmt, 0);
+ callout_init(tp->tt_persist = &it->inp_tp_persist, 0);
+ callout_init(tp->tt_keep = &it->inp_tp_keep, 0);
+ callout_init(tp->tt_2msl = &it->inp_tp_2msl, 0);
+ callout_init(tp->tt_delack = &it->inp_tp_delack, 0);
if (tcp_do_rfc1323)
tp->t_flags = (TF_REQ_SCALE|TF_REQ_TSTMP);
OpenPOWER on IntegriCloud