nfs4: fix channel attribute sanity-checks
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 2 Oct 2010 19:19:01 +0000 (15:19 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 26 Oct 2010 02:19:41 +0000 (22:19 -0400)
commit43c2e885be25311e6289c7da52e8a03c4453ee03
tree68b32eda7198486a8fe720bb5ed91189a769d817
parent1c787096fce217b5fdd9806dbce96e738c9345c0
nfs4: fix channel attribute sanity-checks

The sanity checks here are incorrect; in the worst case they allow
values that crash the client.

They're also over-reliant on the preprocessor.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c