]> 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)
commit0a20b8805abae29b89644df59eaab1b384ae80a2
treeab418c796998e5215872e2e4eeadf17d7fb91901
parent122a172d95355071f328b8a7dce5922fb9c8951f
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