]> git.hungrycats.org Git - linux/commit
[IPV6]: NDISC: ensure responding to NS without link-layer information
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Thu, 16 Sep 2004 05:57:58 +0000 (22:57 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 16 Sep 2004 05:57:58 +0000 (22:57 -0700)
commit6284a4a01664d0e0f2dcb10874ae358e35fb70e0
tree992690d295baadc44c1db25c8e0bf27430e62b07
parent41fcbc4555fd1d71f1a37c8160dc58741479ab78
[IPV6]: NDISC: ensure responding to NS without link-layer information

When sending NA in response to NS, we may not know the
link-layer address for the destination of the NA
since unicast NS is not required to include its link-layer information.
In this case, we first need to resolve the link-layer address.
(RFC 2461 7.2.4)

We now create neighbour entry for the destination
and link-layer information will be automatically solved
in the output path.

Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c