summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-09-15 20:11:11 +0300
committerDavid S. Miller <davem@davemloft.net>2023-09-17 19:46:13 +0300
commitf4f82c52a0ead5ab363d207d06f81b967d09ffb8 (patch)
tree00d6c089b6dab76ba5e55f71f5b63e61efd34505 /tools/perf/scripts/python/exported-sql-viewer.py
parent0113d9c9d1ccc07f5a3710dac4aa24b6d711278c (diff)
downloadlinux-f4f82c52a0ead5ab363d207d06f81b967d09ffb8.tar.xz
scsi: iscsi_tcp: restrict to TCP sockets
Nothing prevents iscsi_sw_tcp_conn_bind() to receive file descriptor pointing to non TCP socket (af_unix for example). Return -EINVAL if this is attempted, instead of crashing the kernel. Fixes: 7ba247138907 ("[SCSI] open-iscsi/linux-iscsi-5 Initiator: Initiator code") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Lee Duncan <lduncan@suse.com> Cc: Chris Leech <cleech@redhat.com> Cc: Mike Christie <michael.christie@oracle.com> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com> Cc: "Martin K. Petersen" <martin.petersen@oracle.com> Cc: open-iscsi@googlegroups.com Cc: linux-scsi@vger.kernel.org Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions