summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_output.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-06-25 11:26:47 +0400
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-07-03 12:51:55 +0400
commitd68b82705a4a754e5773f412c6b8f1e65259bc8b (patch)
tree3bd32bb16b1e462d9c8be37f3b60ca2ec346d003 /net/ipv6/ip6_output.c
parentb4653e99450693b75a3c6c8ff4f070164f12815e (diff)
downloadlinux-d68b82705a4a754e5773f412c6b8f1e65259bc8b.tar.xz
ipv6: Do not assign non-valid address on interface.
Check the type of the address when adding a new one on interface. - the unspecified address (::) is always disallowed (RFC4291 2.5.2) - the loopback address is disallowed unless the interface is (one of) loopback (RFC4291 2.5.3). - multicast addresses are disallowed. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'net/ipv6/ip6_output.c')
0 files changed, 0 insertions, 0 deletions