]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IB/mad: Don't discard BMA responses in kernel
authorMichael Brooks <michael.brooks@qlogic.com>
Sun, 21 Sep 2008 03:06:16 +0000 (20:06 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 21 Sep 2008 03:06:16 +0000 (20:06 -0700)
commit7097228c54e7348d8c8c6dccc96e50191e39c2f8
tree2b04e5fc68f5ec5c3c1405e27f4a68c3cedbca2b
parent9824b8f11373b0df806c135a342da9319ef1d893
IB/mad: Don't discard BMA responses in kernel

This fixes the problem of incoming BMA responses being dropped due to
a bad "is response" check.  Fix the test to use the ib_response_mad()
predicate, which correctly handles BMA MADs.

This fixes <https://bugs.openfabrics.org/show_bug.cgi?id=988>.

Signed-off-by: Michael Brooks <michael.brooks@qlogic.com>
Acked-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c