[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 06 Jun 2019 10:30:32 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: olivier.matz@...nd.com
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org
Subject: Re: [PATCH net 0/2] ipv6: fix EFAULT on sendto with icmpv6 and
hdrincl
From: Olivier Matz <olivier.matz@...nd.com>
Date: Thu, 6 Jun 2019 09:15:17 +0200
> The following code returns EFAULT (Bad address):
>
> s = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);
> setsockopt(s, SOL_IPV6, IPV6_HDRINCL, 1);
> sendto(ipv6_icmp6_packet, addr); /* returns -1, errno = EFAULT */
>
> The problem is fixed in the second patch. The first one aligns the
> code to ipv4, to avoid a race condition in the second patch.
Series applied and queued up for -stable.
Thanks.
Powered by blists - more mailing lists