linux/drivers/infiniband/ulp
Bart Van Assche 2d7091bcf6 IB/srp: Avoid duplicate connections
The connection uniqueness check is performed before a new connection
is added to the target list. This patch protects both actions by a
mutex such that simultaneous writes from two different threads into the
"add_target" variable do not result in duplicate connections.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Roland Dreier <roland@purestorage.com>
2014-03-24 10:05:31 -07:00
..
ipoib Merge branches 'cma', 'cxgb4', 'flowsteer', 'ipoib', 'misc', 'mlx4', 'mlx5', 'ocrdma', 'qib', 'srp' and 'usnic' into for-next 2014-01-22 23:24:13 -08:00
iser IB/iser: Fix use after free in iser_snd_completion() 2014-02-14 09:48:09 -08:00
isert iser-target: Fix leak on failure in isert_conn_create_fastreg_pool 2014-02-12 15:14:11 -08:00
srp IB/srp: Avoid duplicate connections 2014-03-24 10:05:31 -07:00
srpt IB/srpt: replace strict_strtoul() with kstrtoul() 2014-02-12 15:14:40 -08:00