All of lore.kernel.org
 help / color / mirror / Atom feed
From: Allison Henderson <achender@kernel.org>
To: netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
	pabeni@redhat.com,  edumazet@google.com, kuba@kernel.org,
	horms@kernel.org
Cc: jhubbard@nvidia.com, leon@kernel.org
Subject: Re: [PATCH net-next v2 0/2] net/rds: Bug fix ports, part 2
Date: Thu, 13 Aug 2026 19:41:08 -0700	[thread overview]
Message-ID: <faa4c69a1c5e4899566ec525dd92f69e3cf4113e.camel@kernel.org> (raw)
In-Reply-To: <20260809005103.82371-1-achender@kernel.org>

On Sat, 2026-08-08 at 17:51 -0700, Allison Henderson wrote:
> Hi all,
> 
> This is the next batch of net/rds fixes ported from the Oracle UEK
> kernel, following up on the first set now in net-next [1].  
> 
> This is v2 of patches 1 and 2 of "net/rds: Bug fix ports, part 2"
> [2], which contained two initialization-hardening ports.  While
> re-reviewing v1's patches 3 and 4 (the fastpath-lock teardown changes)
> I found their locking needs more rework than a respin should carry, so
> they are split out and will return as their own series together with
> two companion fixes.  
> 

This reply is just for book keeping.  As stated above, v1's patches 3 and 4
have been continued in a separate set:

[PATCH net-next 0/4] net/rds: own the fastpath locks across connection teardown
https://lore.kernel.org/all/20260814013501.43760-1-achender@kernel.org

> The two patches here are independent of them.
> 
> [PATCH net 1/2] net/rds: reinitialize to_be_dropped on rds_send_xmit() restart
>   Port commit 7f52b9968d79 ("net/rds: rds_send_xmit should INIT_LIST_HEAD (&to_be_dropped) on restart")
>   https://github.com/oracle/linux-uek/commit/7f52b9968d79 
> 
> [PATCH net 2/2] net/rds: initialize i_conn_path in rds_inc_init()
>   Port commit 0ec6a520da4f ("rds: rds_inc_init() should initialize the inc->i_conn_path field")
>   https://github.com/oracle/linux-uek/commit/0ec6a520da4f
> 
> Questions and comments appreciated!
> 
> Thanks,
> Allison
> 
> v2:
>   - Patch 1: the comment now names rds_send_remove_from_sock()
>     instead of vaguely blaming "the callees", and the restart-time
>     invariant is enforced with a WARN_ON_ONCE(): entries still on
>     the list there would keep their message reference and their
>     RDS_MSG_ON_SOCK accounting, so a silent re-init would orphan
>     them.
>   - Patch 2: for loopback the field held a live value written by
>     rds_send_queue_rm(), not garbage; rds_loop_xmit() now uses
>     rds_inc_path_init() so the re-initialization keeps it valid, and
>     the commit message describes the two transports accurately.
> 
> [1] https://lore.kernel.org/netdev/20260730041629.3512480-1-achender@kernel.org/
> [2] https://lore.kernel.org/netdev/20260806072045.1092968-1-achender@kernel.org/
> 
> Sharath Srinivasan (1):
>   net/rds: reinitialize to_be_dropped on rds_send_xmit() restart
> 
> William Kucharski (1):
>   net/rds: initialize i_conn_path in rds_inc_init()
> 
>  net/rds/loop.c | 6 +++++-
>  net/rds/recv.c | 1 +
>  net/rds/send.c | 8 ++++++++
>  3 files changed, 14 insertions(+), 1 deletion(-)
> 
> 
> base-commit: 4fa4977a0d900f936bcae5cd2c510be5554e8dd6


      parent reply	other threads:[~2026-08-14  2:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-09  0:51 [PATCH net-next v2 0/2] net/rds: Bug fix ports, part 2 Allison Henderson
2026-08-09  0:51 ` [PATCH net-next v2 1/2] net/rds: reinitialize to_be_dropped on rds_send_xmit() restart Allison Henderson
2026-08-09  0:51 ` [PATCH net-next v2 2/2] net/rds: initialize i_conn_path in rds_inc_init() Allison Henderson
2026-08-13  9:44   ` Paolo Abeni
2026-08-11  8:37 ` [PATCH net-next v2 0/2] net/rds: Bug fix ports, part 2 Simon Horman
2026-08-13 11:00 ` patchwork-bot+netdevbpf
2026-08-14  2:41 ` Allison Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=faa4c69a1c5e4899566ec525dd92f69e3cf4113e.camel@kernel.org \
    --to=achender@kernel.org \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=jhubbard@nvidia.com \
    --cc=kuba@kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.