linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix assorted races in the sunrpc cache.
@ 2013-06-13  2:53 NeilBrown
  2013-06-13  2:53 ` [PATCH 5/5] sunrpc: Don't schedule an upcall on a replaced cache entry NeilBrown
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: NeilBrown @ 2013-06-13  2:53 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: linux-nfs, Bodo Stroesser

There are a few races possible in the sunrpc cache which can result in
messages being dropped or memory not being freed.

These patches have been tested extensively and appear to remove all
dropped-message errors and memory leaks.

NeilBrown


---

NeilBrown (5):
      sunrpc/cache: remove races with queuing an upcall.
      sunrpc/cache: use cache_fresh_unlocked consistently and correctly.
      sunrpc/cache: ensure items removed from cache do not have pending upcalls.
      net/sunrpc: xpt_auth_cache should be ignored when expired.
      sunrpc: Don't schedule an upcall on a replaced cache entry.


 include/linux/sunrpc/cache.h |   49 ++++++++++++---------------
 net/sunrpc/cache.c           |   75 ++++++++++++++++++++++++------------------
 net/sunrpc/svcauth_unix.c    |    4 +-
 3 files changed, 67 insertions(+), 61 deletions(-)

-- 
Signature


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-07-02  1:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-13  2:53 [PATCH 0/5] Fix assorted races in the sunrpc cache NeilBrown
2013-06-13  2:53 ` [PATCH 5/5] sunrpc: Don't schedule an upcall on a replaced cache entry NeilBrown
2013-06-13  2:53 ` [PATCH 3/5] sunrpc/cache: ensure items removed from cache do not have pending upcalls NeilBrown
2013-06-13  2:53 ` [PATCH 2/5] sunrpc/cache: use cache_fresh_unlocked consistently and correctly NeilBrown
2013-06-13  2:53 ` [PATCH 4/5] net/sunrpc: xpt_auth_cache should be ignored when expired NeilBrown
2013-06-13  2:53 ` [PATCH 1/5] sunrpc/cache: remove races with queuing an upcall NeilBrown
2013-07-02  0:39 ` [PATCH 0/5] Fix assorted races in the sunrpc cache J. Bruce Fields
2013-07-02  1:53   ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).