J. Bruce Fields 5ec094c109 nfsd4: extend state lock over seqid replay logic
There are currently a couple races in the seqid replay code: a
retransmission could come while we're still encoding the original reply,
or a new seqid-mutating call could come as we're encoding a replay.

So, extend the state lock over the encoding (both encoding of a replayed
reply and caching of the original encoded reply).

I really hate doing this, and previously added the stateowner
reference-counting code to avoid it (which was insufficient)--but I
don't see a less complicated alternative at the moment.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2011-09-01 07:07:59 -04:00
..
2011-01-04 18:22:10 -05:00
2008-02-01 16:42:05 -05:00
2011-07-18 09:39:01 -04:00
2007-05-09 12:30:54 -07:00
2011-03-07 12:05:09 -05:00
2011-07-18 09:39:01 -04:00
2011-08-26 18:22:52 -04:00
2011-08-26 18:22:48 -04:00
2011-07-18 09:39:01 -04:00
2011-03-31 11:26:23 -03:00
2011-05-10 10:16:21 +02:00