Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 827e3457 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix the NFSv4 and RPCSEC_GSS Kconfig dependencies



The NFSv4 client's callback server calls svc_gss_principal(), which
is defined in the auth_rpcgss.ko

The NFSv4 server has the same dependency, and in addition calls
svcauth_gss_flavor(), gss_mech_get_by_pseudoflavor(),
gss_pseudoflavor_to_service() and gss_mech_put() from the same module.

The module auth_rpcgss itself has no dependencies aside from sunrpc,
so we only need to select RPCSEC_GSS.

Reported-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent fbf3fdd2
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -63,6 +63,7 @@ config NFS_V3_ACL
config NFS_V4
config NFS_V4
	bool "NFS client support for NFS version 4"
	bool "NFS client support for NFS version 4"
	depends on NFS_FS
	depends on NFS_FS
	select SUNRPC_GSS
	help
	help
	  This option enables support for version 4 of the NFS protocol
	  This option enables support for version 4 of the NFS protocol
	  (RFC 3530) in the kernel's NFS client.
	  (RFC 3530) in the kernel's NFS client.
+1 −0
Original line number Original line Diff line number Diff line
@@ -69,6 +69,7 @@ config NFSD_V4
	depends on NFSD && PROC_FS && EXPERIMENTAL
	depends on NFSD && PROC_FS && EXPERIMENTAL
	select NFSD_V3
	select NFSD_V3
	select FS_POSIX_ACL
	select FS_POSIX_ACL
	select SUNRPC_GSS
	help
	help
	  This option enables support in your system's NFS server for
	  This option enables support in your system's NFS server for
	  version 4 of the NFS protocol (RFC 3530).
	  version 4 of the NFS protocol (RFC 3530).