Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Sep 2002 11:25:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Sep 2002 11:25:21 -0400 Received: from sex.inr.ac.ru ([193.233.7.165]:25539 "HELO sex.inr.ac.ru") by vger.kernel.org with SMTP id ; Fri, 27 Sep 2002 11:25:21 -0400 From: kuznet@ms2.inr.ac.ru Message-Id: <200209271530.TAA21206@sex.inr.ac.ru> Subject: Re: [PATCH] IPv6: Refine IPv6 Address Validation Timer To: yoshfuji@linux-ipv6.org (YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=) Date: Fri, 27 Sep 2002 19:30:14 +0400 (MSD) Cc: davem@redhat.com, linux-kernel@vger.kernel.org, netdev@oss.sgi.com, usagi@linux-ipv6.org In-Reply-To: <20020928.001617.91124319.yoshfuji@linux-ipv6.org> from "YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?=" at Sep 28, 2 00:16:17 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 24 Hello! > So, is this reasonable? Yes, I like this. Let's only delete this: > + if (time_before(now + HZ/2, jiffies)) { > + ADBG((KERN_WARNING > + "addrconf_verify(): too slow; jiffies - now = %ld\n", > + (long)jiffies - (long)now)); > + } I do not understand how this survived. If you worry about infinite spinning in loop you could make this check real, f.e. breaking loop when jiffies >= now+2. In this form it is just mud. Alexey - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/