Skip to content

rxrpc, afs: Miscellaneous fixes

David Howells lkml netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesApplied 5/5

Patches in v1 All 5 applied

#Subject and filesSizeRepliesApplied
1/5rxrpc: rxperf: Fix missing decoding of terminal magic cookienet/rxrpc/rxperf.c+12 -00 repliesApplied
2/5rxrpc: peer->mtu_lock is redundantnet/rxrpc/ar-internal.h net/rxrpc/input.c net/rxrpc/peer_event.c +1 more+1 -120 repliesApplied
3/5rxrpc: Fix locking issues with the peer record hashnet/rxrpc/peer_object.c+2 -20 repliesApplied
4/5afs: Fix the server_list to unuse a displaced server rather than putting itfs/afs/server_list.c+2 -20 repliesApplied
5/5afs: Give an afs_server object a ref on the afs_cell object it points tofs/afs/server.c include/trace/events/afs.h+5 -00 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/5] rxrpc, afs: Miscellaneous fixes

Here are some miscellaneous fixes for rxrpc and afs:

(1) In the rxperf test server, make it correctly receive and decode the terminal magic cookie.

(2) In rxrpc, get rid of the peer->mtu_lock as it is not only redundant, it now causes a lockdep complaint.

(3) In rxrpc, fix a lockdep-detected instance where a spinlock is being bh-locked whilst irqs are disabled.

(4) In afs, fix the ref of a server displaced from an afs_server_list struct.

(5) In afs, make afs_server records belonging to a cell take refs on the afs_cell record so that the latter doesn't get deleted first when that cell is being destroyed.

David

The patches can be found here also:

http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-fixes

David Howells (5):
rxrpc: rxperf: Fix missing decoding of terminal magic cookie
rxrpc: peer->mtu_lock is redundant
rxrpc: Fix locking issues with the peer record hash
afs: Fix the server_list to unuse a displaced server rather than
putting it
afs: Give an afs_server object a ref on the afs_cell object it points
to

 fs/afs/server.c            |  3 +++
 fs/afs/server_list.c       |  4 ++--
 include/trace/events/afs.h |  2 ++
 net/rxrpc/ar-internal.h    |  1 -
 net/rxrpc/input.c          |  2 --
 net/rxrpc/peer_event.c     |  9 +--------
 net/rxrpc/peer_object.c    |  5 ++---
 net/rxrpc/rxperf.c         | 12 ++++++++++++
 8 files changed, 22 insertions(+), 16 deletions(-)