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)
commit6f02dc88be1d5ecfcc2b708250f4e5d49295326c
tree94e3f486b1133cec11a42e07cc32800c08b1a336
parent5fd23f7e1d74c0fd100ffb0b04dc85727760d9ea
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