summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-07-28 07:31:30 +0000
committerrwatson <rwatson@FreeBSD.org>2007-07-28 07:31:30 +0000
commita62dbe240a72505ede1aa44338d48387b1f57dff (patch)
tree53267e076ee890eac40b73468ae3007d9979e4d7 /sys/netinet/tcp_subr.c
parentdff1b6c68a8d4d1fc50a981e37d4dbf87b06a37a (diff)
downloadFreeBSD-src-a62dbe240a72505ede1aa44338d48387b1f57dff.zip
FreeBSD-src-a62dbe240a72505ede1aa44338d48387b1f57dff.tar.gz
Replace references to NET_CALLOUT_MPSAFE with CALLOUT_MPSAFE, and remove
definition of NET_CALLOUT_MPSAFE, which is no longer required now that debug.mpsafenet has been removed. The once over: bz Approved by: re (kensmith)
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 7dfbebb..16d4d92 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -592,12 +592,8 @@ tcp_newtcpcb(struct inpcb *inp)
tcp_mssdflt;
/* Set up our timeouts. */
- if (NET_CALLOUT_MPSAFE)
- callout_init_mtx(&tp->t_timers->tt_timer, &inp->inp_mtx,
- CALLOUT_RETURNUNLOCKED);
- else
- callout_init_mtx(&tp->t_timers->tt_timer, &inp->inp_mtx,
- (CALLOUT_RETURNUNLOCKED|CALLOUT_NETGIANT));
+ callout_init_mtx(&tp->t_timers->tt_timer, &inp->inp_mtx,
+ CALLOUT_RETURNUNLOCKED);
if (tcp_do_rfc1323)
tp->t_flags = (TF_REQ_SCALE|TF_REQ_TSTMP);
OpenPOWER on IntegriCloud