[PATCH][1/6] IB: Keep MAD work completion valid

2005-04-01 Thread Roland Dreier
From: Sean Hefty <[EMAIL PROTECTED]> 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

[PATCH][1/6] IB: Keep MAD work completion valid

2005-04-01 Thread Roland Dreier
From: Sean Hefty [EMAIL PROTECTED] 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 [EMAIL