Merge branch 'svn-trunk' into master

This commit is contained in:
Bart Van Assche
2020-09-19 10:01:38 -07:00
-6
View File
@@ -759,12 +759,6 @@ int conn_activate(struct iscsi_conn *conn)
return 0;
}
/*
* Note: the code below passes a kernel space pointer (&opt) to setsockopt()
* while the declaration of setsockopt specifies that it expects a user space
* pointer. This seems to work fine, and this approach is also used in some
* other parts of the Linux kernel (see e.g. fs/ocfs2/cluster/tcp.c).
*/
static int conn_setup_sock(struct iscsi_conn *conn)
{
int res = 0;