]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ipv6: Disallow binding to v4-mapped address on v6-only socket.
authorVlad Yasevich <vladislav.yasevich@hp.com>
Tue, 24 Mar 2009 16:24:48 +0000 (16:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Mar 2009 02:49:09 +0000 (19:49 -0700)
commit783ed5a78373253052bc61a3c5c8b9f17af4e3c6
treee927af1d258187767995fc77bda8eebf5a513077
parent4097f663cbe9e58de7ebed222f8af33267f297a8
ipv6: Disallow binding to v4-mapped address on v6-only socket.

A socket marked v6-only, can not receive or send traffic to v4-mapped
addresses.  Thus allowing binding to v4-mapped address on such a
socket makes no sense.

Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/af_inet6.c