[IPV6] NDISC: Set per-entry is_router flag in Proxy NA.
authorVille Nuorvala <vnuorval@tcs.hut.fi>
Fri, 22 Sep 2006 21:43:19 +0000 (14:43 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:20:24 +0000 (15:20 -0700)
commit62dd93181aaa1d5a501a9cebcb254f44b8a48af7
treeb19cc7f630d3fecccc338f1c5a75000a4485565a
parent5f3e6e9e19f50a6910aec2dbd479187aabba04b7
[IPV6] NDISC: Set per-entry is_router flag in Proxy NA.

We have sent NA with router flag from the node-wide forwarding
configuration.  This is not appropriate for proxy NA, and it should be
set according to each proxy entry's configuration.

This is used by Mobile IPv6 home agent to support physical home link
in acting as a proxy router for mobile node which is not a router,
for example.

Based on MIPL2 kernel patch.

Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/net/neighbour.h
net/core/neighbour.c
net/ipv6/ndisc.c