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@xxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Reviewed-by: Willem de Bruijn <willemb@xxxxxxxxxx> > Link: https://lore.kernel.org/r/20240418170610.867084-1-yick.xie@xxxxxxxxx > Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx> > (cherry picked from commit 680d11f6e5427b6af1321932286722d24a8b16c1) > Signed-off-by: Yick Xie <yick.xie@xxxxxxxxx> > --- > 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