diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-21 10:44:43 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2014-03-21 10:44:43 +0000 |
commit | 9d1358ae60dd2cbe7604ea386be3b2f245f27d3d (patch) | |
tree | d7a32452bcf83ec14e8fe1311ce580c96d29a606 /sys/netinet/ip_input.c | |
parent | 6e8718dbafcdd1a88640590b651dfa2a0f28ec3c (diff) |
rt_timer* spring cleanup.
Rename and document rt_timer_count() into rt_timer_queue_count() to
be consistent with the other functions. Remove unused argument from
rt_timer_queue_destroy(), clean the definitions and finally use the
same order in NAME and DESCRIPTION as requested by jmc@.
ok henning@
Diffstat (limited to 'sys/netinet/ip_input.c')
-rw-r--r-- | sys/netinet/ip_input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c index 8aa474657a0..951ee23b6fe 100644 --- a/sys/netinet/ip_input.c +++ b/sys/netinet/ip_input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_input.c,v 1.226 2014/01/24 18:54:58 henning Exp $ */ +/* $OpenBSD: ip_input.c,v 1.227 2014/03/21 10:44:42 mpi Exp $ */ /* $NetBSD: ip_input.c,v 1.30 1996/03/16 23:53:58 christos Exp $ */ /* @@ -1585,7 +1585,7 @@ ip_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp, rt_timer_queue_create(ip_mtudisc_timeout); } else if (ip_mtudisc == 0 && ip_mtudisc_timeout_q != NULL) { s = splsoftnet(); - rt_timer_queue_destroy(ip_mtudisc_timeout_q, TRUE); + rt_timer_queue_destroy(ip_mtudisc_timeout_q); ip_mtudisc_timeout_q = NULL; splx(s); } |