]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] IB: fix use-after-free in user verbs cleanup
authorRoland Dreier <rolandd@cisco.com>
Sat, 27 Aug 2005 01:34:14 +0000 (18:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 27 Aug 2005 02:37:12 +0000 (19:37 -0700)
commite1bcfcaa0b3bec2a67b22c565a0bf508ea90db1d
tree01c6de89a3d60c35d2133c0b6b1903509a8f1df8
parent1c9cf6f9861f8d27303ee2531b3b7686269c71ce
[PATCH] IB: fix use-after-free in user verbs cleanup

Fix a use-after-free bug in userspace verbs cleanup: we can't touch
mr->device after we free mr by calling ib_dereg_mr().

Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/uverbs_main.c