alistair23-linux/net/rxrpc
David Howells dc44b3a09a rxrpc: Differentiate local and remote abort codes in structs
In the rxrpc_connection and rxrpc_call structs, there's one field to hold
the abort code, no matter whether that value was generated locally to be
sent or was received from the peer via an abort packet.

Split the abort code fields in two for cleanliness sake and add an error
field to hold the Linux error number to the rxrpc_call struct too
(sometimes this is generated in a context where we can't return it to
userspace directly).

Furthermore, add a skb mark to indicate a packet that caused a local abort
to be generated so that recvmsg() can pick up the correct abort code.  A
future addition will need to be to indicate to userspace the difference
between aborts via a control message.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-04-11 15:34:40 -04:00
..
af_rxrpc.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00
ar-accept.c rxrpc: Adjust some whitespace and comments 2016-03-04 15:56:19 +00:00
ar-ack.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-call.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-connection.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00
ar-connevent.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-error.c rxrpc: Don't try to map ICMP to error as the lower layer already did that 2016-03-04 16:02:03 +00:00
ar-input.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-internal.h rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-key.c rxrpc: Use skcipher 2016-01-27 20:36:06 +08:00
ar-local.c rxrpc: Keep the skb private record of the Rx header in host byte order 2016-03-04 15:53:46 +00:00
ar-output.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-peer.c rxrpc: Keep the skb private record of the Rx header in host byte order 2016-03-04 15:53:46 +00:00
ar-proc.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-recvmsg.c rxrpc: Differentiate local and remote abort codes in structs 2016-04-11 15:34:40 -04:00
ar-security.c rxrpc: Adjust some whitespace and comments 2016-03-04 15:56:19 +00:00
ar-skbuff.c rxrpc: Adjust some whitespace and comments 2016-03-04 15:56:19 +00:00
ar-transport.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00
Kconfig
Makefile rxrpc: Move some miscellaneous bits out into their own file 2016-04-11 15:34:40 -04:00
misc.c rxrpc: Static arrays of strings should be const char *const[] 2016-04-11 15:34:40 -04:00
rxkad.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-03-19 10:05:34 -07:00
sysctl.c rxrpc: Replace all unsigned with unsigned int 2016-03-13 15:14:57 -04:00