diff options
author | FX Le Bail <fx.lebail@yahoo.com> | 2014-01-22 07:42:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 21:57:05 -0800 |
commit | 7c90cc2d40cab15adc78545edba8b5996bd4cade (patch) | |
tree | 64222b6892e1ffd29f91102cada60da71ea7a40f /sound/pci | |
parent | eb97768acb3f7749a3a03ee35fee9088244113ea (diff) | |
download | blackbird-op-linux-7c90cc2d40cab15adc78545edba8b5996bd4cade.tar.gz blackbird-op-linux-7c90cc2d40cab15adc78545edba8b5996bd4cade.zip |
ipv6: enable anycast addresses as source addresses for datagrams
This change allows to consider an anycast address valid as source address
when given via an IPV6_PKTINFO or IPV6_2292PKTINFO ancillary data item.
So, when sending a datagram with ancillary data, the unicast and anycast
addresses are handled in the same way.
- Adds ipv6_chk_acast_addr_src() to check if an anycast address is link-local
on given interface or is global.
- Uses it in ip6_datagram_send_ctl().
Signed-off-by: Francois-Xavier Le Bail <fx.lebail@yahoo.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions