public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Yick Xie <yick.xie@gmail.com>
Cc: stable@vger.kernel.org, Willem de Bruijn <willemb@google.com>,
	Jakub Kicinski <kuba@kernel.org>
Subject: Re: [PATCH 4.19.y] udp: preserve the connected status if only UDP cmsg
Date: Tue, 30 Apr 2024 10:22:47 +0200	[thread overview]
Message-ID: <2024043057-gloss-sustainer-601f@gregkh> (raw)
In-Reply-To: <20240430080923.3154753-1-yick.xie@gmail.com>

On Tue, Apr 30, 2024 at 04:09:23PM +0800, Yick Xie wrote:
> If "udp_cmsg_send()" returned 0 (i.e. only UDP cmsg),
> "connected" should not be set to 0. Otherwise it stops
> the connected socket from using the cached route.
> 
> Fixes: 2e8de8576343 ("udp: add gso segment cmsg")
> Signed-off-by: Yick Xie <yick.xie@gmail.com>
> Cc: stable@vger.kernel.org
> Reviewed-by: Willem de Bruijn <willemb@google.com>
> Link: https://lore.kernel.org/r/20240418170610.867084-1-yick.xie@gmail.com
> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
> (cherry picked from commit 680d11f6e5427b6af1321932286722d24a8b16c1)
> Signed-off-by: Yick Xie <yick.xie@gmail.com>
> ---
>  net/ipv4/udp.c | 5 +++--
>  net/ipv6/udp.c | 5 +++--
>  2 files changed, 6 insertions(+), 4 deletions(-)

Sorry, but we can not take a 4.19.y only patch, without it also being
present in newer stable kernels.  If you provide versions for 5.4.y,
5.10.y, and 5.15.y then we can take this one.

thanks,

greg k-h

  reply	other threads:[~2024-04-30  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-29 12:00 FAILED: patch "[PATCH] udp: preserve the connected status if only UDP cmsg" failed to apply to 4.19-stable tree gregkh
2024-04-30  8:09 ` [PATCH 4.19.y] udp: preserve the connected status if only UDP cmsg Yick Xie
2024-04-30  8:22   ` Greg KH [this message]
2024-04-30  8:45     ` Yick Xie
2024-04-30  8:51       ` Greg KH

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=2024043057-gloss-sustainer-601f@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=kuba@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=willemb@google.com \
    --cc=yick.xie@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox