aboutsummaryrefslogtreecommitdiff
path: root/mm/mmzone.c
diff options
context:
space:
mode:
authorStefan Metzmacher2022-09-14 05:25:47 +0200
committerSteve French2022-09-13 22:55:45 -0500
commitbedc8f76b3539ac4f952114b316bcc2251e808ce (patch)
tree7459f5678cd94b2c88499249de5a1ee0abe6d0ae /mm/mmzone.c
parent17d3df38dc5f4cec9b0ac6eb79c1859b6e2693a4 (diff)
cifs: always initialize struct msghdr smb_msg completely
So far we were just lucky because the uninitialized members of struct msghdr are not used by default on a SOCK_STREAM tcp socket. But as new things like msg_ubuf and sg_from_iter where added recently, we should play on the safe side and avoid potention problems in future. Signed-off-by: Stefan Metzmacher <metze@samba.org> Cc: stable@vger.kernel.org Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions