]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix another nfs4_sequence corruptor
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 26 Feb 2014 19:19:14 +0000 (11:19 -0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 1 Mar 2014 19:51:53 +0000 (13:51 -0600)
commit8ef67a7559e4682e7b4385afc91eb3df0d362b1f
tree960f747d97a632effa5179788cd08e077a26cd10
parentec43cde72dea05f371e818a2378b12a9df8eea5a
NFSv4: Fix another nfs4_sequence corruptor

nfs4_release_lockowner needs to set the rpc_message reply to point to
the nfs4_sequence_res in order to avoid another Oopsable situation
in nfs41_assign_slot.

Fixes: d437d7dbf3a31 (NFS: Add nfs4_sequence calls for RELEASE_LOCKOWNER)
Cc: stable@vger.kernel.org # 3.12+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
include/linux/nfs_xdr.h