]> git.baikalelectronics.ru Git - kernel.git/commit
nfs: deny backchannel RPCs with an incorrect authflavor instead of dropping them
authorJeff Layton <jlayton@poochiereds.net>
Thu, 4 Jun 2015 22:40:13 +0000 (18:40 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 11 Jun 2015 18:06:34 +0000 (14:06 -0400)
commitd62bb528084b3835d30df5974d1643115a47525d
tree94e3f486b1133cec11a42e07cc32800c08b1a336
parent06784aa2e7af0e8d7c6395ceef8179c411ce38fd
nfs: deny backchannel RPCs with an incorrect authflavor instead of dropping them

A drop should really only be done when the frame is malformed or we have
reason to think that there is some sort of DoS going on. When we get an
RPC with bad auth, we should send back an error instead.

Cc: Andy Adamson <William.Adamson@netapp.com>
Signed-off-by: Jeff Layton <jeff.layton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/callback.c