]> www.infradead.org Git - users/dwmw2/linux.git/commit
SUNRPC: return proper error from gss_wrap_req_priv
authorChen Hanxiao <chenhx.fnst@fujitsu.com>
Thu, 23 May 2024 08:47:16 +0000 (16:47 +0800)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 30 May 2024 20:12:43 +0000 (16:12 -0400)
commit33c94d7e3cb84f6d130678d6d59ba475a6c489cf
tree84f7c9247c344c12846eb550e4d97ba2bacc3d6f
parent28568c906c1bb5f7560e18082ed7d6295860f1c2
SUNRPC: return proper error from gss_wrap_req_priv

don't return 0 if snd_buf->len really greater than snd_buf->buflen

Signed-off-by: Chen Hanxiao <chenhx.fnst@fujitsu.com>
Fixes: 0c77668ddb4e ("SUNRPC: Introduce trace points in rpc_auth_gss.ko")
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/auth_gss/auth_gss.c