Fix assorted races in the sunrpc cache.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | sunrpc/cache: remove races with queuing an upcall.net/ | +29 | 0 replies | |
| 2/5 | sunrpc/cache: use cache_fresh_unlocked consistently and correctly.net/ | +7 | 0 replies | |
| 3/5 | sunrpc/cache: ensure items removed from cache do not have pending upcalls.include/ net/ | +6 | 0 replies | |
| 4/5 | net/sunrpc: xpt_auth_cache should be ignored when expired.include/ net/ net/ | +23 | 0 replies | |
| 5/5 | sunrpc: Don't schedule an upcall on a replaced cache entry.net/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Fix assorted races in the sunrpc cache.
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 · 1 line
Signature