Re: [PATCHSET] Mobile IPv6 for 2.5.45

David S. Miller (davem@redhat.com)
Fri, 01 Nov 2002 02:37:18 -0800 (PST)


From: "Venkata Jagana" <jagana@us.ibm.com>
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 :-)
-
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/