kernel-hacking-2024-linux-s.../net/sunrpc
Chuck Lever d6783b2b6c SUNRPC: Bury "#ifdef IPV6" in svc_create_xprt()
Clean up:  Bruce observed we have more or less common logic in each of
svc_create_xprt()'s callers:  the check to create an IPv6 RPC listener
socket only if CONFIG_IPV6 is set.  I'm about to add another case
that does just the same.

If we move the ifdefs into __svc_xpo_create(), then svc_create_xprt()
call sites can get rid of the "#ifdef" ugliness, and can use the same
logic with or without IPv6 support available in the kernel.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2010-01-26 17:56:43 -05:00
..
auth_gss sunrpc: fix build-time warning 2010-01-06 17:30:05 -05:00
xprtrdma Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
addr.c SUNRPC: Display compressed (shorthand) IPv6 presentation addresses 2009-12-03 15:58:56 -05:00
auth.c Merge branch 'nfs-for-2.6.33' 2009-12-13 13:56:27 -05:00
auth_generic.c
auth_null.c
auth_unix.c
backchannel_rqst.c
bc_svc.c
cache.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00
clnt.c SUNRPC: soft connect semantics for UDP 2009-12-03 15:58:56 -05:00
Kconfig
Makefile
rpc_pipe.c
rpcb_clnt.c SUNRPC: Use soft connects for autobinding over TCP 2009-12-03 15:58:56 -05:00
sched.c nfs: enforce FIFO ordering of operations trying to acquire slot 2009-12-15 13:55:18 -05:00
socklib.c
stats.c
sunrpc.h
sunrpc_syms.c SUNRPC: Use a cached RPC client and transport for rpcbind upcalls 2009-12-03 15:58:56 -05:00
svc.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00
svc_xprt.c SUNRPC: Bury "#ifdef IPV6" in svc_create_xprt() 2010-01-26 17:56:43 -05:00
svcauth.c net: Move && and || to end of previous line 2009-11-29 16:55:45 -08:00
svcauth_unix.c SUNRPC: Use rpc_pton() in ip_map_parse() 2010-01-26 17:52:33 -05:00
svcsock.c NFSD: Support AF_INET6 in svc_addsock() function 2010-01-26 17:55:56 -05:00
sysctl.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
timer.c
xdr.c
xprt.c SUNRPC: Ensure that we honour autoclose before attempting to reconnect 2009-12-03 08:10:17 -05:00
xprtsock.c Merge branch 'nfs-for-2.6.33' 2009-12-13 13:56:27 -05:00