diff options
author | Chuck Lever | 2016-06-29 19:55:14 +0200 |
---|---|---|
committer | Anna Schumaker | 2016-07-11 21:50:43 +0200 |
commit | 0533b13072f4bf35738290d2cf9e299c7bc6c42a (patch) | |
tree | 2590a9ac8ce35dc5163f5985d1b55420800b6611 /net/sunrpc/rpc_pipe.c | |
parent | xprtrdma: No direct data placement with krb5i and krb5p (diff) | |
download | kernel-qcow2-linux-0533b13072f4bf35738290d2cf9e299c7bc6c42a.tar.gz kernel-qcow2-linux-0533b13072f4bf35738290d2cf9e299c7bc6c42a.tar.xz kernel-qcow2-linux-0533b13072f4bf35738290d2cf9e299c7bc6c42a.zip |
svc: Avoid garbage replies when pc_func() returns rpc_drop_reply
If an RPC program does not set vs_dispatch and pc_func() returns
rpc_drop_reply, the server sends a reply anyway containing a single
word containing the value RPC_DROP_REPLY (in network byte-order, of
course). This is a nonsense RPC message.
Fixes: 9e701c610923 ("svcrpc: simpler request dropping")
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/rpc_pipe.c')
0 files changed, 0 insertions, 0 deletions