NFS: Don't drop CB requests with invalid principals
authorChuck Lever <chuck.lever@oracle.com>
Wed, 29 Jun 2016 17:55:22 +0000 (13:55 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 11 Jul 2016 19:50:43 +0000 (15:50 -0400)
commita4e187d83d88eeaba6252aac0a2ffe5eaa73a818
tree31ac04d7813866463fccf2ec9ec4dea9c88edc75
parent0533b13072f4bf35738290d2cf9e299c7bc6c42a
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>
fs/nfs/callback_xdr.c
net/sunrpc/svc.c
This page took 0.024819 seconds and 5 git commands to generate.