]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: add hash_cred() function to rpc_authops struct
authorFrank Sorenson <sorenson@redhat.com>
Thu, 29 Sep 2016 15:44:37 +0000 (10:44 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 30 Sep 2016 19:28:46 +0000 (15:28 -0400)
commitbb88931cb269762feeef3b826b6f3690a09353a8
treeab418c796998e5215872e2e4eeadf17d7fb91901
parentd307b89a6ccd94fbd21d445100610eccf08b91a4
sunrpc: add hash_cred() function to rpc_authops struct

Currently, a single hash algorithm is used to hash the auth_cred for
the credcache for all rpc_auth types.  Add a hash_cred() function to
the rpc_authops struct to allow a hash function specific to each
auth flavor.

Signed-off-by: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/auth.h