linux/include/rdma
Hal Rosenstock 533708867d IB/mad: Require CM send method for everything except ClassPortInfo
Receipt of CM MAD with other than the Send method for an attribute
other than the ClassPortInfo attribute is invalid.

CM attributes other than ClassPortInfo only use the send method.

The SRP initiator does not maintain a timeout policy for CM connect
requests relies on the CM layer to do that. The result was that
the SRP initiator hung as the connect request never completed.

A new SRP target has been observed to respond to Send CM REQ
with GetResp of CM REQ with bad status. This is non conformant
with IBA spec but exposes a vulnerability in the current MAD/CM
code which will respond to the incoming GetResp of CM REQ as if
it was a valid incoming Send of CM REQ rather than tossing
this on the floor. It also causes the MAD layer not to
retransmit the original REQ even though it has not received a REP.

Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-12-08 12:19:11 -05:00
..
ib_addr.h IB/addr: Pass network namespace as a parameter 2015-10-28 12:32:47 -04:00
ib_cache.h IB/cache: Add ib_find_gid_by_filter cache API 2015-10-21 23:48:17 -04:00
ib_cm.h
ib_fmr_pool.h
ib_mad.h IB/mad: Require CM send method for everything except ClassPortInfo 2015-12-08 12:19:11 -05:00
ib_marshall.h
ib_pack.h
ib_pma.h
ib_sa.h IB/core: Remove smac and vlan id from path record 2015-10-21 23:48:18 -04:00
ib_smi.h
ib_umem_odp.h
ib_umem.h
ib_verbs.h IB/core: use RCU for uverbs id lookup 2015-12-07 16:39:26 -05:00
ib.h
iw_cm.h
iw_portmap.h
opa_port_info.h
opa_smi.h
rdma_cm_ib.h
rdma_cm.h IB/core, cma: Make __attribute_const__ declarations sparse-friendly 2015-10-30 17:57:49 -04:00
rdma_netlink.h