diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-08-07 18:49:51 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2011-08-07 18:49:51 +0000 |
commit | 74b2de56b668edd9a8c0c30c5b20bac341a8fe29 (patch) | |
tree | 94a5eee21d8e57d9e7ace52c7dde0602cd33ac89 /sys/arch/hppa64 | |
parent | 9e4f82c84e899ab6779339bb8d4404fa8e4ff457 (diff) |
Several fixes for the IPV6_PKTINFO handling with sendmsg(2)
Verify that the address in the in6_pktinfo structure included
in the control message is unicast and configured on the local
host. Additional checks prevent from using non-routable
addresses and inactive interfaces.
Embed the scope identifier into the link local addresses as
required by the stack. Do not force users to provide valid
interface index in the ipi6_ifindex but look it up in place
if needed.
ok bluhm, waived by deraadt for the release.
Diffstat (limited to 'sys/arch/hppa64')
0 files changed, 0 insertions, 0 deletions