linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.39 nfsd and crypto =n
@ 2011-06-03 17:45 Wakko Warner
  2011-06-06 18:22 ` [PATCH] nfsd: v4 support requires CRYPTO Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Wakko Warner @ 2011-06-03 17:45 UTC (permalink / raw)
  To: linux-kernel

During compile, I received this:
ERROR: "crypto_destroy_tfm" [fs/nfsd/nfsd.ko] undefined!
ERROR: "crypto_alloc_base" [fs/nfsd/nfsd.ko] undefined!

.config nfsd options:
CONFIG_NFSD=m
# CONFIG_NFSD_DEPRECATED is not set
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
CONFIG_NFSD_V4=y

and crypto:
# CONFIG_CRYPTO is not set

making the following change fixes:
-# CONFIG_CRYPTO is not set
+CONFIG_CRYPTO=m

Should NFSD_V4 select CRYPTO?  Should it select other things?

-- 
 Microsoft has beaten Volkswagen's world record.  Volkswagen only created 22
 million bugs.

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

* [PATCH] nfsd: v4 support requires CRYPTO
  2011-06-03 17:45 2.6.39 nfsd and crypto =n Wakko Warner
@ 2011-06-06 18:22 ` Randy Dunlap
  2011-06-06 22:41   ` J. Bruce Fields
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2011-06-06 18:22 UTC (permalink / raw)
  To: Wakko Warner, linux-nfs; +Cc: linux-kernel, J. Bruce Fields, Neil Brown

From: Randy Dunlap <randy.dunlap@oracle.com>

nfsd V4 support uses crypto interfaces, so select CRYPTO
to fix build errors in 2.6.39:

ERROR: "crypto_destroy_tfm" [fs/nfsd/nfsd.ko] undefined!
ERROR: "crypto_alloc_base" [fs/nfsd/nfsd.ko] undefined!

Reported-by: Wakko Warner <wakko@animx.eu.org>
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: stable@kernel.org
---
 fs/nfsd/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- linux-2.6.39.orig/fs/nfsd/Kconfig
+++ linux-2.6.39/fs/nfsd/Kconfig
@@ -82,6 +82,7 @@ config NFSD_V4
 	select NFSD_V3
 	select FS_POSIX_ACL
 	select SUNRPC_GSS
+	select CRYPTO
 	help
 	  This option enables support in your system's NFS server for
 	  version 4 of the NFS protocol (RFC 3530).

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

* Re: [PATCH] nfsd: v4 support requires CRYPTO
  2011-06-06 18:22 ` [PATCH] nfsd: v4 support requires CRYPTO Randy Dunlap
@ 2011-06-06 22:41   ` J. Bruce Fields
  0 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2011-06-06 22:41 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Wakko Warner, linux-nfs, linux-kernel, Neil Brown

On Mon, Jun 06, 2011 at 11:22:17AM -0700, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
> 
> nfsd V4 support uses crypto interfaces, so select CRYPTO
> to fix build errors in 2.6.39:

Thanks, applying for 3.0.--b.

> 
> ERROR: "crypto_destroy_tfm" [fs/nfsd/nfsd.ko] undefined!
> ERROR: "crypto_alloc_base" [fs/nfsd/nfsd.ko] undefined!
> 
> Reported-by: Wakko Warner <wakko@animx.eu.org>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
> Cc: stable@kernel.org
> ---
>  fs/nfsd/Kconfig |    1 +
>  1 file changed, 1 insertion(+)
> 
> --- linux-2.6.39.orig/fs/nfsd/Kconfig
> +++ linux-2.6.39/fs/nfsd/Kconfig
> @@ -82,6 +82,7 @@ config NFSD_V4
>  	select NFSD_V3
>  	select FS_POSIX_ACL
>  	select SUNRPC_GSS
> +	select CRYPTO
>  	help
>  	  This option enables support in your system's NFS server for
>  	  version 4 of the NFS protocol (RFC 3530).

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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-03 17:45 2.6.39 nfsd and crypto =n Wakko Warner
2011-06-06 18:22 ` [PATCH] nfsd: v4 support requires CRYPTO Randy Dunlap
2011-06-06 22:41   ` J. Bruce Fields

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).