Files
i2som-imx-linux/net
David Howells c1bc642250 rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
commit 37a675e768 upstream.

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: f2aeed3a59 ("rxrpc: Fix error reception on AF_INET6 sockets")
Signed-off-by: David Howells <dhowells@redhat.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-03 08:18:11 +02:00
..
2019-09-16 08:20:44 +02:00
2019-06-22 08:16:14 +02:00
2020-05-20 08:17:12 +02:00
2019-12-05 15:38:15 +01:00
2020-01-17 19:45:49 +01:00
2020-01-17 19:45:49 +01:00