]> 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)
commita0e56bb0d5d37ee8f92ee7c10c644ff1ddc83328
tree960f747d97a632effa5179788cd08e077a26cd10
parent1477ac4ceab954e073c66c557d2ad0c947a87136
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: 996c94d700410 (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