• Ville Nuorvala's avatar
    [IPV6]: Stricter checks on link-locals in bind and sendmsg · e05df4f5
    Ville Nuorvala authored
    When binding to a link-local address, inet6_bind() and raw6_bind() only
    check that an interface is specified and that the address exists, but
    they don't check if it actually exists on the specified interface.
    
    Similarly, in datagram_sent_ctl() we don't check for the possibility of a
    link-local address when we receive the source address from userspace.
    e05df4f5
af_inet6.c 20.8 KB