Target/iser: Gracefully reject T10-PI enabled connect request if not supported
authorSagi Grimberg <sagig@mellanox.com>
Tue, 20 May 2014 10:28:11 +0000 (13:28 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 20 May 2014 18:18:44 +0000 (11:18 -0700)
commit5f80ff8eccba50832dcc640ac89add4c7fced963
treec861a3a53164dd5041bdc2f1df49460df608c826
parentf5ebec9629cf78eeeea4b8258882a9f439ab2404
Target/iser: Gracefully reject T10-PI enabled connect request if not supported

In case user chose to set T10-PI enable on the target while
the IB device does not support it, gracefully reject the request.

Reported-by: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: stable@vger.kernel.org # 3.15+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c