]> git.itanic.dy.fi Git - linux-stable/commit
cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Sep 2022 03:25:46 +0000 (05:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Sep 2022 12:14:04 +0000 (14:14 +0200)
commiteea8626615a0115b36abf13bc0ce7d207bc418e2
tree64792def422589e4b00880e877756776098d0298
parent2c3f439480c05c53196a8b2878e9ea70df676d03
cifs: don't send down the destination address to sendmsg for a SOCK_STREAM

commit 17d3df38dc5f4cec9b0ac6eb79c1859b6e2693a4 upstream.

This is ignored anyway by the tcp layer.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Cc: stable@vger.kernel.org
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/cifs/transport.c