linux/net/rxrpc
David Howells 2baec2c3f8 rxrpc: Support network namespacing
Support network namespacing in AF_RXRPC with the following changes:

 (1) All the local endpoint, peer and call lists, locks, counters, etc. are
     moved into the per-namespace record.

 (2) All the connection tracking is moved into the per-namespace record
     with the exception of the client connection ID tree, which is kept
     global so that connection IDs are kept unique per-machine.

 (3) Each namespace gets its own epoch.  This allows each network namespace
     to pretend to be a separate client machine.

 (4) The /proc/net/rxrpc_xxx files are now called /proc/net/rxrpc/xxx and
     the contents reflect the namespace.

fs/afs/ should be okay with this patch as it explicitly requires the current
net namespace to be init_net to permit a mount to proceed at the moment.  It
will, however, need updating so that cells, IP addresses and DNS records are
per-namespace also.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-25 13:15:11 -04:00
..
Kconfig rxrpc: Add config to inject packet loss 2016-09-17 11:24:04 +01:00
Makefile rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
af_rxrpc.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
ar-internal.h rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
call_accept.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
call_event.c rxrpc: Use negative error codes in rxrpc_call struct 2017-04-06 10:11:56 +01:00
call_object.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
conn_client.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
conn_event.c rxrpc: Trace protocol errors in received packets 2017-04-06 11:09:39 +01:00
conn_object.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
conn_service.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
input.c rxrpc: Trace changes in a call's receive window size 2017-04-06 11:10:41 +01:00
insecure.c rxrpc: Trace protocol errors in received packets 2017-04-06 11:09:39 +01:00
key.c rxrpc: Fix an assertion in rxrpc_read() 2017-02-24 11:42:55 -05:00
local_event.c rxrpc: The offset field in struct rxrpc_skb_priv is unnecessary 2016-09-30 14:39:28 +01:00
local_object.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
misc.c rxrpc: Fix handling of enums-to-string translation in tracing 2017-01-05 10:38:33 +00:00
net_ns.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
output.c rxrpc: Don't request an ACK on the last DATA packet of a call's Tx phase 2016-10-06 08:11:51 +01:00
peer_event.c rxrpc: Use negative error codes in rxrpc_call struct 2017-04-06 10:11:56 +01:00
peer_object.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
proc.c rxrpc: Support network namespacing 2017-05-25 13:15:11 -04:00
recvmsg.c rxrpc: Trace protocol errors in received packets 2017-04-06 11:09:39 +01:00
rxkad.c rxrpc: Trace protocol errors in received packets 2017-04-06 11:09:39 +01:00
security.c rxrpc: Reduce the rxrpc_local::services list to a pointer 2016-09-29 22:57:47 +01:00
sendmsg.c rxrpc: Trace protocol errors in received packets 2017-04-06 11:09:39 +01:00
skbuff.c rxrpc: Make Tx loss-injection go through normal return and adjust tracing 2016-09-29 22:37:15 +01:00
sysctl.c rxrpc: Keep the call timeouts as ktimes rather than jiffies 2016-09-30 14:40:11 +01:00
utils.c rxrpc: Make IPv6 support conditional on CONFIG_IPV6 2016-09-17 03:58:45 -04:00