Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/netinet Pull up revision 1.160 (requested by itojun...



details:   https://anonhg.NetBSD.org/src/rev/18bf979486bf
branches:  netbsd-1-6
changeset: 529341:18bf979486bf
user:      tron <tron%NetBSD.org@localhost>
date:      Tue Nov 12 14:44:11 2002 +0000

description:
Pull up revision 1.160 (requested by itojun in ticket #977):
always create pmtud timeout queue, as ip_mtudisc can be tweaked via
sysctl at runtime.  From lha%stacken.kth.se@localhost

diffstat:

 sys/netinet/ip_input.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (29 lines):

diff -r fa8cd69a95d8 -r 18bf979486bf sys/netinet/ip_input.c
--- a/sys/netinet/ip_input.c    Mon Nov 11 23:49:50 2002 +0000
+++ b/sys/netinet/ip_input.c    Tue Nov 12 14:44:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_input.c,v 1.150.4.1 2002/06/07 19:39:21 thorpej Exp $       */
+/*     $NetBSD: ip_input.c,v 1.150.4.2 2002/11/12 14:44:11 tron Exp $  */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -102,7 +102,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.150.4.1 2002/06/07 19:39:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.150.4.2 2002/11/12 14:44:11 tron Exp $");
 
 #include "opt_gateway.h"
 #include "opt_pfil_hooks.h"
@@ -338,9 +338,7 @@
        TAILQ_INIT(&in_ifaddr);
        in_ifaddrhashtbl = hashinit(IN_IFADDR_HASH_SIZE, HASH_LIST, M_IFADDR,
            M_WAITOK, &in_ifaddrhash);
-       if (ip_mtudisc != 0)
-               ip_mtudisc_timeout_q = 
-                   rt_timer_queue_create(ip_mtudisc_timeout);
+       ip_mtudisc_timeout_q = rt_timer_queue_create(ip_mtudisc_timeout);
 #ifdef GATEWAY
        ipflow_init();
 #endif



Home | Main Index | Thread Index | Old Index