summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2018-09-27 15:13:09 +0100
committerDavid Howells <dhowells@redhat.com>2018-09-28 10:33:10 +0100
commit37a675e768d7606fe8a53e0c459c9b53e121ac20 (patch)
tree8da4fafd8032fa4cfaff805dc095f98b0e83abab /net/switchdev
parent0099dc589bfa7caf6f2608c4cbc1181cfee22b0c (diff)
rxrpc: Fix transport sockopts to get IPv4 errors on an IPv6 socket
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>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions