mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
Merge branch 'svn-trunk' into master
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user