linux-stable/drivers/infiniband
Grzegorz Morys a276672ed7 IB/hfi1: Prohibit invalid Init to Armed state transition
It is invalid to change Link state from Init to Armed if
IsSmConfigurationStarted bit is not set in Attribute modifier
for Set subnet management method in case of PortInfo
and PortStateInfo attribute.
Set response MAD status field bits accordingly to react correctly
in such situations and avoid changing Link state.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Grzegorz Morys <grzegorz.morys@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-11-13 15:53:57 -05:00
..
core IB/core: Avoid unnecessary return value check 2017-11-13 14:42:04 -05:00
hw IB/hfi1: Prohibit invalid Init to Armed state transition 2017-11-13 15:53:57 -05:00
sw IB/rxe: don't crash, if allocation of crc algorithm failed 2017-11-10 13:43:50 -05:00
ulp IB/srpt: Ensure that modifying the use_srq configfs attribute works 2017-11-13 15:25:16 -05:00
Kconfig infiniband: add MMU dependency for user_mem 2017-10-10 10:49:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00