diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-12-20 09:57:11 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2016-12-20 09:57:11 +0000 |
commit | dee309af3eb1697748181cbfe9d0ba505dbaf9c1 (patch) | |
tree | b121efea296b5e651bca3210aafcc6c3ffa7e0dc /sys | |
parent | d0b8143a8b4abceaa4a9fba3e1871e45d0d137c2 (diff) |
No need for splsoftnet()/splx() dance around a pool_put() if the pool
has IPL_SOFTNET as ipl.
ok mikeb@, kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_subr.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 8520d6e5a01..f80d28dc1a1 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_subr.c,v 1.156 2016/09/24 14:51:37 naddy Exp $ */ +/* $OpenBSD: tcp_subr.c,v 1.157 2016/12/20 09:57:10 mpi Exp $ */ /* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */ /* @@ -550,11 +550,8 @@ void tcp_reaper(void *arg) { struct tcpcb *tp = arg; - int s; - s = splsoftnet(); pool_put(&tcpcb_pool, tp); - splx(s); tcpstat.tcps_closed++; } |