summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-09-27 15:13:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-04 14:51:42 +0100
commit4ca2cf672c5b7b0c84c596608de3b2e43ad89873 (patch)
tree632d2461571e048421f0d379a2338823f99b9ba8 /include
parent1a75026c857a1b0bb245fb9d4c00f5c0118031fc (diff)
downloadlinux-stable-4ca2cf672c5b7b0c84c596608de3b2e43ad89873.tar.gz
linux-stable-4ca2cf672c5b7b0c84c596608de3b2e43ad89873.tar.bz2
linux-stable-4ca2cf672c5b7b0c84c596608de3b2e43ad89873.zip
rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
[ Upstream commit 37a675e768d7606fe8a53e0c459c9b53e121ac20 ] It seems that enabling IPV6_RECVERR on an IPv6 socket doesn't also turn on IP_RECVERR, so neither local errors nor ICMP-transported remote errors from IPv4 peer addresses are returned to the AF_RXRPC protocol. Make the sockopt setting code in rxrpc_open_socket() fall through from the AF_INET6 case to the AF_INET case to turn on all the AF_INET options too in the AF_INET6 case. Fixes: f2aeed3a591f ("rxrpc: Fix error reception on AF_INET6 sockets") Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions