diff options
| author | Roland Dreier <rolandd@cisco.com> | 2005-06-28 01:36:46 +0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-28 02:11:47 +0400 |
| commit | dae4c1d2362292ccd3318ff67d18aa5c22ee820c (patch) | |
| tree | 2bab3983a784bd6baef0fda8f8a62a555f38cb99 /include/linux/stringify.h | |
| parent | cae54bdf6f8b643e0e7a36ed531951f19e14fe56 (diff) | |
| download | linux-dae4c1d2362292ccd3318ff67d18aa5c22ee820c.tar.xz | |
[PATCH] IB: Fix race in sa_query
Use a copy of the id we'll return to the consumer so that we don't
dereference query->sa_query after calling send_mad(). A completion may
occur very quickly and end up freeing the query before we get to do
anything after send_mad().
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
