From: Ben Greear <greearb@xxxxxxxxxxxxxxx> This lets one specify the source IP address for sockets, allowing users to leverage routing rules on multi-homed systems. Kernel patches to RPC and NFS are needed to complete full functionality. v3: Break into smaller patches for easier review. Remove srcaddr support from non-stropts API. Ben Greear (7): nfs-utils: Add structure for passing local binding info. nfs-utils: Add patch to parse srcaddr= option. nfs-utils: Implement srcaddr binding in rpc_socket nfs-utils: Implement srcaddr binding in network.c nfs-utils: Support srcaddr=n option for string mount. nfs-utils: Implement srcaddr=n binding for unmount. nfs-utils: Update man page for srcaddr= option. support/include/nfsrpc.h | 23 +++++-- support/include/sockaddr.h | 6 ++ support/nfs/getport.c | 37 +++++++---- support/nfs/rpc_socket.c | 96 ++++++++++++++++++++-------- utils/gssd/gssd.h | 2 + utils/gssd/gssd_proc.c | 33 ++++++---- utils/mount/network.c | 149 +++++++++++++++++++++++++++++++++---------- utils/mount/network.h | 20 ++++-- utils/mount/nfs.man | 7 ++ utils/mount/nfs4mount.c | 3 +- utils/mount/nfsmount.c | 6 +- utils/mount/nfsumount.c | 26 +++++++- utils/mount/stropts.c | 35 +++++++++- utils/mount/utils.c | 6 +- utils/mount/utils.h | 4 +- 15 files changed, 335 insertions(+), 118 deletions(-) -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html