Support abstract address for rpcbind in kernel
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | SUNRPC: support abstract unix socket addressesnet/ net/ | +13 | 0 replies | |
| 2/2 | SUNRPC: attempt to reach rpcbind with an abstract socket namenet/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Support abstract address for rpcbind in kernel
These two patches cause the SUNRPC layer in Linux to attempt to contact rpcbind using an AF_UNIX socket with an abstract address before the existing attempts of AF_UNIX to a socket in the filesystem, and IP to a well known port.
This allows the benefits of an AF_UNIX connection combined with the benefits of honouring the network namespace when connection rpcbind.
For this to be useful, rpcbind must listed on that name, and user-space tools must also connect to the same address. This requires changes to rpcbind and too libtirpc. libtirpc currently has a bug which causes sockets bountd to abstract addresses to appear to be unbound, so asking systemd to pass rpcbind an abstract socket doesn't work - rpcbind rejects it.
Patches for rpcbind and libtirpc will follow.
NeilBrown
---
NeilBrown (2):
SUNRPC: support abstract unix socket addresses
SUNRPC: attempt to reach rpcbind with an abstract socket name
net/sunrpc/clnt.c | 8 ++++++-- net/sunrpc/rpcb_clnt.c | 39 +++++++++++++++++++++++++++++++-------- net/sunrpc/xprtsock.c | 9 +++++++-- 3 files changed, 44 insertions(+), 12 deletions(-)
--
Signature