Staging
v0.5.1
https://github.com/torvalds/linux
Revision 5a4f2b675210718aceb4abf41617a3af31bba718 authored by Dave Olson on 23 May 2008, 17:52:59 UTC, committed by Roland Dreier on 23 May 2008, 17:52:59 UTC
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>
1 parent e1d50dc
History
Tip revision: 5a4f2b675210718aceb4abf41617a3af31bba718 authored by Dave Olson on 23 May 2008, 17:52:59 UTC
IB/mad: Fix kernel crash when .process_mad() returns SUCCESS|CONSUMED
Tip revision: 5a4f2b6
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 682 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 97.5 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top