linux/net/rxrpc
David Howells f66d749019 rxrpc: Use the peer record to distribute network errors
Use the peer record to distribute network errors rather than the transport
object (which I want to get rid of).  An error from a particular peer
terminates all calls on that peer.

For future consideration:

 (1) For ICMP-induced errors it might be worth trying to extract the RxRPC
     header from the offending packet, if one is returned attached to the
     ICMP packet, to better direct the error.

     This may be overkill, though, since an ICMP packet would be expected
     to be relating to the destination port, machine or network.  RxRPC
     ABORT and BUSY packets give notice at RxRPC level.

 (2) To also abort connection-level communications (such as CHALLENGE
     packets) where indicted by an error - but that requires some revamping
     of the connection event handling first.

Signed-off-by: David Howells <dhowells@redhat.com>
2016-06-15 10:15:16 +01:00
..
af_rxrpc.c rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00
ar-internal.h rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
call_accept.c rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00
call_event.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
call_object.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
conn_event.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
conn_object.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
input.c rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00
insecure.c rxrpc: Create a null security type and get rid of conditional calls 2016-04-11 15:34:41 -04:00
Kconfig rxrpc: Absorb the rxkad security module 2016-04-11 15:34:41 -04:00
key.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
local_object.c rxrpc: Rename rxrpc_UDP_error_report() to rxrpc_error_report() 2016-06-15 10:14:37 +01:00
Makefile rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00
misc.c rxrpc: Limit the listening backlog 2016-06-10 18:14:47 -07:00
output.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
peer_event.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
peer_object.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
proc.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
recvmsg.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
rxkad.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-06-10 11:52:24 -07:00
security.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
skbuff.c rxrpc: Rename files matching ar-*.c to git rid of the "ar-" prefix 2016-06-13 12:16:05 +01:00
sysctl.c rxrpc: Limit the listening backlog 2016-06-10 18:14:47 -07:00
transport.c rxrpc: Use the peer record to distribute network errors 2016-06-15 10:15:16 +01:00
utils.c rxrpc: Rework peer object handling to use hash table and RCU 2016-06-15 10:12:33 +01:00