]> git.baikalelectronics.ru Git - kernel.git/commit
[NETNS][IPV6]: inet6_addr - check ipv6 address per namespace
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 11 Jan 2008 06:43:18 +0000 (22:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:44 +0000 (15:01 -0800)
commit99b67e616b87c2e843ea7d75290dd61de96f297e
treed9bbacab07552cc6c33f9f022a34af2391d9ecc1
parent948437afe3c78af77ef96c24d7698100f913b080
[NETNS][IPV6]: inet6_addr - check ipv6 address per namespace

When a new address is added, we must check if the new address does not
already exists.  This patch makes this check to be aware of a network
namespace, so the check will look if the address already exists for
the specified network namespace. While the addresses are browsed, the
addresses which do not belong to the namespace are discarded.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: Benjamin Thery <benjamin.thery@bull.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/addrconf.c
net/ipv6/af_inet6.c
net/ipv6/anycast.c
net/ipv6/datagram.c
net/ipv6/icmp.c
net/ipv6/ip6_tunnel.c
net/ipv6/ndisc.c
net/ipv6/raw.c
net/sctp/ipv6.c