From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XuPGN-00051x-Jb for mharc-grub-devel@gnu.org; Fri, 28 Nov 2014 12:23:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuPGG-00050M-F3 for grub-devel@gnu.org; Fri, 28 Nov 2014 12:23:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuPGA-0003xG-IN for grub-devel@gnu.org; Fri, 28 Nov 2014 12:23:16 -0500 Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:51270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuPGA-0003x3-Ak for grub-devel@gnu.org; Fri, 28 Nov 2014 12:23:10 -0500 Received: by mail-la0-f45.google.com with SMTP id gq15so6030095lab.18 for ; Fri, 28 Nov 2014 09:23:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=zpHevK750aq+VHAkO0sPBL5Ykq8qAqX/e6yVhDI43Wg=; b=TIzkwxAX3g6Ff82iDWQoGBPtWLrj8pwXc3UDq2cQGY7Nx5Zx1s/ap7wZoKM4sKtlLw f9OxG54Ix3doN2nk5Dc2uoBLdaGAJkp8gNJnKz292naAlIiyl4WzDw76WpoXm2vKcZQz XR3NFaiar02Pd0vFREHmudVVOOn+Oy8Oy6O0u4vqC0zXvuNOlF/tbR1vrtuzqF/1+epR hVFCQNhctI6zFr6wHHFO19E+lzWaUVlVwrA96ooAdpx5v2+3YtKZP3RBu53EebVhtVYN AQkcLi5PSbHPyRVXiXaaZFagrSFuadcgFGK4210R1u9I/ounwXTBomApxVpH9sA1s6gi s4lg== X-Received: by 10.152.2.41 with SMTP id 9mr43934519lar.47.1417195389606; Fri, 28 Nov 2014 09:23:09 -0800 (PST) Received: from opensuse.site (ppp91-76-149-193.pppoe.mtu-net.ru. [91.76.149.193]) by mx.google.com with ESMTPSA id xh2sm2745849lbb.7.2014.11.28.09.23.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Nov 2014 09:23:08 -0800 (PST) Date: Fri, 28 Nov 2014 20:23:07 +0300 From: Andrei Borzenkov To: Michael Chang Subject: Re: [PATCH] send router solicitation for ipv6 address autoconf v2 Message-ID: <20141128202307.2110d2a8@opensuse.site> In-Reply-To: <1416297788-10783-1-git-send-email-mchang@suse.com> References: <1416297788-10783-1-git-send-email-mchang@suse.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.25; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d Cc: grub-devel@gnu.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2014 17:23:22 -0000 =D0=92 Tue, 18 Nov 2014 16:03:08 +0800 Michael Chang =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > Many routers have long router advertisment interval configured by > default. The Neighbor Discovery protocol (RFC4861) has defined default > MaxRtrAdvInterval value as 600 seconds and > MinRtrAdvInterval as 0.33*MaxRtrAdvInterval. This makes > net_ipv6_autoconf fails more often than not as currently it passively > listens the RA message to perfom address autoconfiguration. >=20 > This patch tries to send router solicitation to overcome the problem of > long RA interval. >=20 > v2: > use cpu_to_be macro for network byte order conversion > add missing error handling pushed