.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
---|
1 | 2 | /* |
---|
2 | 3 | * iSCSI Initiator TCP Transport |
---|
3 | 4 | * Copyright (C) 2004 Dmitry Yusupov |
---|
.. | .. |
---|
5 | 6 | * Copyright (C) 2005 - 2006 Mike Christie |
---|
6 | 7 | * Copyright (C) 2006 Red Hat, Inc. All rights reserved. |
---|
7 | 8 | * maintained by open-iscsi@googlegroups.com |
---|
8 | | - * |
---|
9 | | - * This program is free software; you can redistribute it and/or modify |
---|
10 | | - * it under the terms of the GNU General Public License as published |
---|
11 | | - * by the Free Software Foundation; either version 2 of the License, or |
---|
12 | | - * (at your option) any later version. |
---|
13 | | - * |
---|
14 | | - * This program is distributed in the hope that it will be useful, but |
---|
15 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
17 | | - * General Public License for more details. |
---|
18 | 9 | * |
---|
19 | 10 | * See the file COPYING included with this distribution for more details. |
---|
20 | 11 | */ |
---|
.. | .. |
---|
37 | 28 | |
---|
38 | 29 | struct iscsi_sw_tcp_conn { |
---|
39 | 30 | struct socket *sock; |
---|
| 31 | + /* Taken when accessing the sock from the netlink/sysfs interface */ |
---|
| 32 | + struct mutex sock_lock; |
---|
40 | 33 | |
---|
41 | 34 | struct iscsi_sw_tcp_send out; |
---|
42 | 35 | /* old values for socket callbacks */ |
---|