summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorDave Olson <dave.olson@qlogic.com>2008-05-23 19:52:59 +0200
committerRoland Dreier <rolandd@cisco.com>2008-05-23 19:52:59 +0200
commit5a4f2b675210718aceb4abf41617a3af31bba718 (patch)
treee8753ab50b255d53839e7fce70695965406a83c0 /fs/internal.h
parentIPoIB: Test for NULL broadcast object in ipiob_mcast_join_finish() (diff)
downloadlinux-5a4f2b675210718aceb4abf41617a3af31bba718.tar.xz
linux-5a4f2b675210718aceb4abf41617a3af31bba718.zip
IB/mad: Fix kernel crash when .process_mad() returns SUCCESS|CONSUMED
If a low-level driver returns IB_MAD_RESULT_SUCCESS | IB_MAD_RESULT_CONSUMED, handle_outgoing_dr_smp() doesn't clean up properly. The fix is to kfree the local data and break, rather than falling through. This was observed with the ipath driver, but could happen with any driver. This fixes <https://bugs.openfabrics.org/show_bug.cgi?id=1027>. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'fs/internal.h')
0 files changed, 0 insertions, 0 deletions