Skip to content

net/rds: Bug fix ports

Allison Henderson linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/rds: don't use unpin_user_pages_dirty_lock() from atomic contextnet/rds/rdma.c+12 -42 replies
2/3net/rds: hold the socket while an rds_mr references itnet/rds/rdma.c+9 -00 replies
3/3net/rds: fix rds_message leak in the rds_send_xmit() drop pathnet/rds/send.c+10 -20 replies

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/3] net/rds: Bug fix ports

Hi all,

This is a small set of net/rds bug fixes ported from uek to upstream rds. I've been working on extending the rds selftest case, but need to stabilize a few more bugs and the first few fall into net with Fixes tags. I decided to leverage fable for this set and I thought the ports we clean and well explained.

[PATCH net 1/3] net/rds: don't use unpin_user_pages_dirty_lock() from atomic context
Port: commit 4d4a5551a1d2 ("net/rds: Avoid unpin_user_pages_dirty_lock() in tasklets")
https://github.com/oracle/linux-uek/commit/4d4a5551a1d2

[PATCH net 2/3] net/rds: hold the socket while an rds_mr references it
Port: commit c4d69e511f3b ("rds: Add proper refcnt when an RDS MR references an RDS Socket")
https://github.com/oracle/linux-uek/commit/94549e4732d8

[PATCH net-next 3/7] net/rds: fix rds_message leak in the rds_send_xmit() drop path
Port: commit 94549e4732d8 ("net/rds: fix rds_message memleak in rds_send_xmit")
https://github.com/oracle/linux-uek/commit/94549e4732d8

These were carved out of a larger porting effort, but I'll follow up with a few more targeted for net-net after these land in net.

Question and comments appreciated!

Thanks,
Allison

Gerd Rausch (1):
net/rds: don't use unpin_user_pages_dirty_lock() from atomic context

Håkon Bugge (1):
net/rds: hold the socket while an rds_mr references it

Sharath Srinivasan (1):
net/rds: fix rds_message leak in the rds_send_xmit() drop path

 net/rds/rdma.c | 25 +++++++++++++++++++++----
 net/rds/send.c | 12 ++++++++++--
 2 files changed, 31 insertions(+), 6 deletions(-)
Signature · 1 line
2.25.1