mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-19 11:41:26 +00:00
iscsi-scstd: No need to cal set_non_blocking() twice on the same fd during accept.
set_non_blocking() is being called in alloc_and_init_conn(), so no need to call it again later Signed-off-by: Yan Burman <yanb@mellanox.com> git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5279 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -442,8 +442,6 @@ static void accept_connection(int listen)
|
||||
conn->is_discovery = tcp_is_discovery;
|
||||
conn_read_pdu(conn);
|
||||
|
||||
set_non_blocking(fd);
|
||||
|
||||
incoming_cnt++;
|
||||
|
||||
out:
|
||||
|
||||
Reference in New Issue
Block a user