aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorStefan Metzmacher <[email protected]>2022-09-14 03:25:47 +0000
committerSteve French <[email protected]>2022-09-14 03:55:45 +0000
commitbedc8f76b3539ac4f952114b316bcc2251e808ce (patch)
tree7459f5678cd94b2c88499249de5a1ee0abe6d0ae /drivers/fpga/fpga-bridge.c
parentcifs: don't send down the destination address to sendmsg for a SOCK_STREAM (diff)
downloadkernel-bedc8f76b3539ac4f952114b316bcc2251e808ce.tar.gz
kernel-bedc8f76b3539ac4f952114b316bcc2251e808ce.zip
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 <[email protected]> Cc: [email protected] Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions