Eric Dumazet 7cb001d4c4 scsi_tcp: block BH in TCP callbacks
iscsi_sw_tcp_data_ready() and iscsi_sw_tcp_state_change() were
using read_lock(&sk->sk_callback_lock) which is fine if caller
disabled BH.

TCP stack no longer has this requirement and can run from
process context.

Use read_lock_bh() variant to restore previous assumption.

Ideally this code could use RCU instead...

Fixes: 5413d1babe8f ("net: do not block BH while processing socket backlog")
Fixes: d41a69f1d390 ("tcp: make tcp_sendmsg() aware of socket backlog")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: Venkatesh Srinivas <venkateshs@google.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-19 11:36:49 -07:00
..
2016-04-29 19:08:24 -04:00
2016-02-23 21:27:02 -05:00
2016-04-18 11:23:24 +02:00
2016-03-15 15:24:44 -07:00
2016-04-25 16:20:49 -04:00
2016-04-18 11:23:24 +02:00
2016-05-17 21:12:50 -04:00
2016-02-25 21:11:42 -05:00
2016-05-18 16:38:59 -07:00
2016-03-18 15:35:23 -04:00
2015-04-27 10:10:19 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:04:39 -07:00
2015-04-27 10:05:55 -07:00
2015-11-09 17:11:57 -08:00
2015-12-03 09:32:33 -08:00
2015-04-17 10:13:56 -07:00
2015-11-25 22:08:55 -05:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:37 +02:00
2016-05-10 22:01:07 -04:00
2015-11-09 17:11:57 -08:00
2014-11-24 16:13:16 +01:00
2015-11-09 16:32:14 -08:00
2016-02-23 21:27:02 -05:00
2016-05-10 21:58:08 -04:00
2016-02-25 21:10:53 -05:00
2015-06-02 17:24:54 -07:00
2016-01-27 20:36:10 +08:00
2016-01-27 20:36:10 +08:00
2014-07-17 22:07:35 +02:00
2014-11-24 20:01:28 +01:00
2015-11-12 07:06:18 -05:00
2016-02-23 21:27:02 -05:00
2016-05-10 21:34:16 -04:00
2016-03-14 15:50:25 -04:00
2016-02-23 21:27:02 -05:00
2014-07-17 22:07:39 +02:00
2016-01-26 17:24:16 -08:00
2014-11-12 11:15:57 +01:00
2016-04-25 22:08:16 -04:00
2015-11-18 11:59:09 -05:00
2016-02-23 21:27:02 -05:00
2014-11-20 09:11:15 +01:00
2015-07-23 13:07:04 -07:00