[lkml]   [2002]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCHSET] Mobile IPv6 for 2.5.45

Hi Dave,

> 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).

I had a couple of comments about putting the registration part in
When the HA gets a registration request, it needs to perform the following
actions :
1. perform DAD
2. get the list of prefixes supported on the home link of the MN.
3. create a tunnel between the HA and the MN
4. join the solicited node multicast group of the MN's home
5. add the MN's home address to the list of proxy neigh cache entry
for the HA.
6. Send NA on behalf of the MN
7. add the new location of the MN in the binding cache.
8. and finally send the Binding Registration Success/Failure

In the above list, the only activities which can be done in userspace are
#7 and #8 (that I am aware of). The rest of the items can only be done in
kernel, atleast we need to move the support to kernel. If the HA
is completely moved to userspace, it would still need these facilities (#1
to #6) in the kernel to perform the actions for registration. So even with
we still need the infrastructure in the kernel.

We can move the #7 and #8 pieces to userspace, but that is a relatively
small code, and is it worth doing that ?

Overall I feel that this should still be part of the kernel...


- KK

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean