diff options
author | Feng Li <[email protected]> | 2016-07-12 06:15:44 +0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2016-07-20 13:26:51 -0700 |
commit | 8abc718de6e9e52d8a6bfdb735060554aeae25e4 (patch) | |
tree | de8c02094723199dc80664d7d54d6f765f3de257 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 88a678bbc34cecce36bf2c7a8af4cba38f9f77ce (diff) |
iscsi-target: Fix panic when adding second TCP connection to iSCSI session
In MC/S scenario, the conn->sess has been set NULL in
iscsi_login_non_zero_tsih_s1 when the second connection comes here,
then kernel panic.
The conn->sess will be assigned in iscsi_login_non_zero_tsih_s2. So
we should check whether it's NULL before calling.
Signed-off-by: Feng Li <[email protected]>
Tested-by: Sumit Rai <[email protected]>
Cc: [email protected] # 3.14+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions