]> 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 09:02:52 +0000 (11:02 +0200)
commit9922d8abb347ee2f74fe5800cb5f2e2c243856f1
treed49569afcfad258b002c7745386acb34a999196b
parentfe9302b4087f584eebb7f0c5d1024d76662db47e
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