SUNRPC: introduce svc_xprt_create_from_sa utility routine
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 23 Apr 2024 13:25:42 +0000 (15:25 +0200)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 6 May 2024 13:07:22 +0000 (09:07 -0400)
commita79ec2aecb1b3d9c59241a6155a5554b236de9b7
treeb9b6ac702ad910811c32ec9ba23263c226350a60
parent5a939bea25be9793d9aa5d8494df667dfe625e6b
SUNRPC: introduce svc_xprt_create_from_sa utility routine

Add svc_xprt_create_from_sa utility routine and refactor
svc_xprt_create() codebase in order to introduce the capability to
create a svc port from socket address.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_xprt.h
net/sunrpc/svc_xprt.c