Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650682

Re: [PATCH net-next] rxrpc: Support network namespacing

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] rxrpc: Support network namespacing
Date 2017-05-25 19:30 +0200
Message-ID <tL4Ke-2DT-13@gated-at.bofh.it> (permalink)
References <tKH1h-4vB-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: David Howells <dhowells@redhat.com>
Date: Wed, 24 May 2017 17:02:32 +0100

> 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>

Applied.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH net-next] rxrpc: Support network namespacing David Miller <davem@davemloft.net> - 2017-05-25 19:30 +0200

csiph-web