From: Sean Hefty Date: Sat, 16 Apr 2005 22:26:08 +0000 (-0700) Subject: [PATCH] IB: Keep MAD work completion valid X-Git-Tag: v2.6.12-rc3~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24239aff4e25cba2d068b2c6b8e739257351c15d;p=pandora-kernel.git [PATCH] IB: Keep MAD work completion valid Replace the *wc field in ib_mad_recv_wc from pointing to a structure on the stack to one allocated with the received MAD buffer. This allows a client to access the *wc field after their receive completion handler has returned. Signed-off-by: Sean Hefty Signed-off-by: Roland Dreier Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed