summaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-06-06 10:29:21 -0700
committerDavid S. Miller <davem@davemloft.net>2019-06-06 10:29:21 -0700
commit8d037f92de5f34b44312c4df6c115c6df92d7085 (patch)
tree2dbe76f0f5c136bcb3c378d5e5c0a98dacdac774 /net/rds
parent4970b42d5c362bf873982db7d93245c5281e58f4 (diff)
parentb9aa52c4cb457e7416cc0c95f475e72ef4a61336 (diff)
downloadlinux-8d037f92de5f34b44312c4df6c115c6df92d7085.tar.gz
linux-8d037f92de5f34b44312c4df6c115c6df92d7085.tar.bz2
linux-8d037f92de5f34b44312c4df6c115c6df92d7085.zip
Merge branch 'ipv6-fix-EFAULT-on-sendto-with-icmpv6-and-hdrincl'
Olivier Matz says: ==================== ipv6: fix EFAULT on sendto with icmpv6 and hdrincl 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. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions