Received: with ECARTIS (v1.0.0; list netdev); Fri, 01 Nov 2002 02:48:27 -0800 (PST) Received: from pizda.ninka.net (IDENT:root@pizda.ninka.net [216.101.162.242]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id gA1AlEuR029699 for ; Fri, 1 Nov 2002 02:47:27 -0800 Received: from localhost (IDENT:davem@localhost.localdomain [127.0.0.1]) by pizda.ninka.net (8.9.3/8.9.3) with ESMTP id CAA21592; Fri, 1 Nov 2002 02:37:19 -0800 Date: Fri, 01 Nov 2002 02:37:18 -0800 (PST) Message-Id: <20021101.023718.64663422.davem@redhat.com> To: jagana@us.ibm.com Cc: yoshfuji@wide.ad.jp, kkumar@beaverton.ibm.com.sgi.com, kuznet@ms2.inr.ac.ru, ajtuomin@tml.hut.fi, lpetande@tml.hut.fi, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Subject: Re: [PATCHSET] Mobile IPv6 for 2.5.45 From: "David S. Miller" In-Reply-To: References: X-FalunGong: Information control. X-Mailer: Mew version 2.1 on Emacs 21.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-archive-position: 1061 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: davem@redhat.com Precedence: bulk X-list: netdev From: "Venkata Jagana" Date: Thu, 31 Oct 2002 22:51:13 -0800 I believe even the registration part should belong to kernel and here are the reasons why. The Home Agent needs to ... None of the things you've listed make it desirable to put the home agent registration into the kernel. All of the operations you describe could be invoked by the userland home agent daemon using very minimal glue logic in the kernel (invoked, for example, via netlink messages). (Hint: this glue logic could even be useful for other things) Look, it is bad enough we have to put pfkey2 security database into the kernel (and that most IKE daemons duplicate the whole database in the user process as well), so let's not continue with such disasters. Just like a router changes and monitors routes, a home agent daemon would change and monitor mipv6 state. So for the same reason we don't put OSPF routing databases into the kernel, we do not put the home agent registration into the kernel :-)