]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit11950765b60d500d33f519b4192cfb6a6e2bf65c
tree68b32eda7198486a8fe720bb5ed91189a769d817
parentb6014e3fa736d73bf1eda4dc1a7865d737b15b72
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