[PATCH 0/5] Fix assorted races in the sunrpc cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux