All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/6] nfs-utils:  Support binding to source address.
@ 2011-06-13 21:26 greearb
  2011-06-13 21:26 ` [PATCH v4 1/6] nfs-utils: Add structure for passing local binding info greearb
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: greearb @ 2011-06-13 21:26 UTC (permalink / raw)
  To: linux-nfs; +Cc: Ben Greear

From: Ben Greear <greearb@candelatech.com>

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.

v6:  Remove is_set flag from local_bind_info struct.  Just pass in
       NULL if local IP is not specified.
     Use family of server when parsing local IP address.  This makes
       sure that we do not get a family mis-match between server and
       local ip.
     Rename parse_local_bind to nfs_parse_local_bind
     Clean up a few nits (don't check for null before freeing something).

v5:  Fix compile error with ipv6 enabled.  One minor
       change to patch 1.

v4:  Remove get_socket() modifications: stropt mount doesn't use them.
       (This removed old patch 4, and modified patch 1)
     Remove open-parsing of srcaddr= in mount logic.  Move parsing
       to nfs_validate_options()

*** BLURB HERE ***

Ben Greear (6):
  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:  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 |    5 ++
 support/nfs/getport.c      |   39 +++++++++-----
 support/nfs/rpc_socket.c   |   96 ++++++++++++++++++++++++----------
 utils/gssd/gssd.h          |    2 +
 utils/gssd/gssd_proc.c     |   33 +++++++-----
 utils/mount/network.c      |  125 +++++++++++++++++++++++++++++++++++---------
 utils/mount/network.h      |   17 ++++--
 utils/mount/nfs.man        |    7 +++
 utils/mount/nfsmount.c     |    2 +-
 utils/mount/nfsumount.c    |   28 ++++++++--
 utils/mount/stropts.c      |   28 ++++++++--
 utils/mount/utils.c        |    6 ++-
 utils/mount/utils.h        |    4 +-
 14 files changed, 310 insertions(+), 105 deletions(-)

-- 
1.7.3.4


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-06-22 19:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-13 21:26 [PATCH v4 0/6] nfs-utils: Support binding to source address greearb
2011-06-13 21:26 ` [PATCH v4 1/6] nfs-utils: Add structure for passing local binding info greearb
2011-06-13 21:26 ` [PATCH v4 2/6] nfs-utils: Add patch to parse srcaddr= option greearb
2011-06-13 21:26 ` [PATCH v4 3/6] nfs-utils: Implement srcaddr binding in rpc_socket greearb
2011-06-13 21:26 ` [PATCH v4 4/6] nfs-utils: Support srcaddr=n option for string mount greearb
2011-06-13 21:26 ` [PATCH v4 5/6] nfs-utils: Implement srcaddr=n binding for unmount greearb
2011-06-13 21:26 ` [PATCH v4 6/6] nfs-utils: Update man page for srcaddr= option greearb
2011-06-20 17:40 ` [PATCH v4 0/6] nfs-utils: Support binding to source address Ben Greear
2011-06-22 14:29   ` Steve Dickson
2011-06-22 14:53     ` Ben Greear
2011-06-22 18:57       ` Steve Dickson
2011-06-22 19:11         ` Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.