aboutsummaryrefslogtreecommitdiffstats
path: root/net/nsh/nsh.c
diff options
context:
space:
mode:
authorYick Xie <[email protected]>2024-04-18 17:06:10 +0000
committerJakub Kicinski <[email protected]>2024-04-20 03:10:15 +0000
commit680d11f6e5427b6af1321932286722d24a8b16c1 (patch)
tree63f411c69f87ef289274a426991b64ca3ce1af52 /net/nsh/nsh.c
parentvxlan: drop packets from invalid src-address (diff)
downloadkernel-680d11f6e5427b6af1321932286722d24a8b16c1.tar.gz
kernel-680d11f6e5427b6af1321932286722d24a8b16c1.zip
udp: preserve the connected status if only UDP cmsg
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 <[email protected]> Cc: [email protected] Reviewed-by: Willem de Bruijn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/nsh/nsh.c')
0 files changed, 0 insertions, 0 deletions