summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_generic.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-06-29 19:55:22 +0200
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-07-11 21:50:43 +0200
commita4e187d83d88eeaba6252aac0a2ffe5eaa73a818 (patch)
tree31ac04d7813866463fccf2ec9ec4dea9c88edc75 /net/sunrpc/auth_generic.c
parentsvc: Avoid garbage replies when pc_func() returns rpc_drop_reply (diff)
downloadlinux-a4e187d83d88eeaba6252aac0a2ffe5eaa73a818.tar.xz
linux-a4e187d83d88eeaba6252aac0a2ffe5eaa73a818.zip
NFS: Don't drop CB requests with invalid principals
Before commit 778be232a207 ("NFS do not find client in NFSv4 pg_authenticate"), the Linux callback server replied with RPC_AUTH_ERROR / RPC_AUTH_BADCRED, instead of dropping the CB request. Let's restore that behavior so the server has a chance to do something useful about it, and provide a warning that helps admins correct the problem. Fixes: 778be232a207 ("NFS do not find client in NFSv4 ...") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Tested-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth_generic.c')
0 files changed, 0 insertions, 0 deletions