NFS: Support binding to source address
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest12 patches 1 replyIn review
- v111 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | sunrpc: Don't attempt to bind to AF_UNSPEC address.net/ | +2 | 0 replies | |
| 2/12 | nfs: Two AF_UNSPEC addresses should always match each other.fs/ | +2 | 0 replies | |
| 3/12 | nfs: Add srcaddr member to nfs_client.fs/ fs/ include/ | +11 | 0 replies | |
| 4/12 | nfs: Use request destination addr as callback source addr.fs/ fs/ include/ | +11 | 0 replies | |
| 5/12 | nfs: Pay attention to srcaddr in v4.1 callback logic.fs/ fs/ fs/ | +30 | 0 replies | |
| 6/12 | nfs: Use srcaddr in nfs_match_client.fs/ | +12 | 0 replies | |
| 7/12 | nfs: Add srcaddr to /proc/fs/nfsfs/serversfs/ | +16 | 0 replies | |
| 8/12 | nfs: Pass srcaddr into mount request.fs/ fs/ fs/ | +4 | 0 replies | |
| 9/12 | nfs: Propagate src-addr in client code.fs/ | +13 | 0 replies | |
| 10/12 | nfs: Bind to srcaddr in rpcb_create.net/ net/ net/ | +71 | 0 replies | |
| 11/12 | nfs: Support srcaddr= to bind to specific IP address.fs/ | +28 | 0 replies | |
| 11/12 | lockd: Support binding nlm client to specific address.fs/ fs/ fs/ +3 more | +23 | 0 replies | |
| 12/12 | lockd: Support binding nlm client to specific address.fs/ fs/ fs/ +3 more | +23 | 0 replies | |
| 12/12 | nfs: Support srcaddr= to bind to specific IP address.fs/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 00/12] NFS: Support binding to source address
From: Ben Greear <[email protected]>
This lets one specify the source IP address for
sockets, allowing users to leverage routing rules
on multi-homed systems.
Patches are also needed to nfs-utils. These have been posted and will be accepted if the kernel support is accepted.
v2: Add patch 11 to bind the NLM client to the proper
source address as well.
Ben Greear (12):
sunrpc: Don't attempt to bind to AF_UNSPEC address.
nfs: Two AF_UNSPEC addresses should always match each other.
nfs: Add srcaddr member to nfs_client.
nfs: Use request destination addr as callback source addr.
nfs: Pay attention to srcaddr in v4.1 callback logic.
nfs: Use srcaddr in nfs_match_client.
nfs: Add srcaddr to /proc/fs/nfsfs/servers
nfs: Pass srcaddr into mount request.
nfs: Propagate src-addr in client code.
nfs: Bind to srcaddr in rpcb_create.
lockd: Support binding nlm client to specific address.
nfs: Support srcaddr= to bind to specific IP address.
fs/lockd/clntlock.c | 3 +- fs/lockd/host.c | 17 +++++++++- fs/nfs/callback.h | 3 ++ fs/nfs/callback_proc.c | 3 +- fs/nfs/callback_xdr.c | 3 ++ fs/nfs/client.c | 73 ++++++++++++++++++++++++++++++++++++++++-- fs/nfs/internal.h | 10 +++++- fs/nfs/mount_clnt.c | 1 + fs/nfs/super.c | 33 +++++++++++++++++++- include/linux/lockd/bind.h | 1 + include/linux/lockd/lockd.h | 1 + include/linux/nfs_fs_sb.h | 4 ++ include/linux/sunrpc/clnt.h | 2 + include/linux/sunrpc/svc.h | 5 +++ net/sunrpc/rpcb_clnt.c | 28 +++++++++++++++- net/sunrpc/sunrpc.h | 45 ++++++++++++++++++++++++++ net/sunrpc/xprtsock.c | 47 +-------------------------- 17 files changed, 223 insertions(+), 56 deletions(-)
Signature · 1 line
1.7.3.4