Files
linux-apfs/drivers/infiniband/core
Hal Rosenstock 445d68070c IB/mad: Fix error path if response alloc fails in ib_mad_recv_done_handler()
If ib_mad_recv_done_handler() fails to allocate response, then it just
printed a warning and continued, which leads to an oops if the MAD is
being handled for a switch device, because the switch code uses
response without checking for NULL.  Fix this by bailing out of the
function if the allocation fails.

Signed-off-by: Suresh Shelvapille <suri@baymicrosystems.com>
Signed-off-by: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-08-03 10:45:17 -07:00
..
2007-07-09 16:17:32 -07:00
2005-10-29 10:35:07 -07:00
2007-05-21 09:18:19 -07:00
2006-09-22 15:22:46 -07:00
2006-11-22 14:57:56 +00:00
2007-07-09 16:17:32 -07:00
2007-07-09 16:17:32 -07:00
2007-04-24 16:31:11 -07:00
2007-07-09 16:17:33 -07:00
2007-05-06 21:18:11 -07:00