[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac3eb485-18be-4fcd-b0d4-8370aa64f38a@oracle.com>
Date: Fri, 15 Sep 2023 15:55:06 -0500
From: Mike Christie <michael.christie@...cle.com>
To: Eric Dumazet <edumazet@...gle.com>, Lee Duncan <lduncan@...e.com>,
Chris Leech <cleech@...hat.com>
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
netdev@...r.kernel.org, Eric Dumazet <eric.dumazet@...il.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
open-iscsi@...glegroups.com, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: iscsi_tcp: restrict to TCP sockets
On 9/15/23 12:11 PM, Eric Dumazet wrote:
> 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.
>
Reviewed-by: Mike Christie <michael.christie@...cle.com>
Powered by blists - more mailing lists