]> 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>
Wed, 28 Sep 2022 08:55:44 +0000 (10:55 +0200)
commited71adaa8ba85bfd2363fa23248028ee1c92cca1
tree99acf02df42565b173767c0706183b51b95e3c64
parentac021700ca6860b6aa5784b206ea24253e7c78a0
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