]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: check for uninitialized slot
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 13 Feb 2012 21:56:19 +0000 (16:56 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 14 Feb 2012 22:01:58 +0000 (17:01 -0500)
commit7aec6f7d73845c0b3a16d61bb52266308dbb43b8
tree6c36ab623d4f5cb2ce9606ffa3f1dd53b3550848
parent2b2a299dd56db99e20972290f32b595e77df6b7f
nfsd4: check for uninitialized slot

This fixes an oops when a buggy client tries to use an initial seqid of
0 on a new slot, which we may misinterpret as a replay.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
fs/nfsd/state.h