SUNRPC: Don't recognize RPC_AUTH_MAXFLAVOR
authorChuck Lever <chuck.lever@oracle.com>
Fri, 22 Mar 2013 16:53:08 +0000 (12:53 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 4 Apr 2013 21:01:00 +0000 (17:01 -0400)
commit1c74a244fcb61e6e1983d5725b8ccd5d3f51889c
treeeff47c8ae8eae01b7754d850877ee28ddaba149e
parent4edaa308888b4bd629fa025cc6d5b2bf1a2a51db
SUNRPC: Don't recognize RPC_AUTH_MAXFLAVOR

RPC_AUTH_MAXFLAVOR is an invalid flavor, on purpose.  Don't allow
any processing whatsoever if a caller passes it to rpcauth_create()
or rpcauth_get_gssinfo().

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth.c