On Sun, Aug 07, 2011 at 12:49 -0600, Mike Belopuhov wrote: > CVSROOT: /cvs > Module name: src > Changes by: mi...@cvs.openbsd.org 2011/08/07 12:49:50 > > Modified files: > sys/netinet6 : in6_src.c > > Log message: > 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. >
Forgot to mention that this was lifted from KAME.