[PATCH] IB: fix potential ib_umad leak
authorRoland Dreier <roland@topspin.com>
Wed, 25 May 2005 19:31:30 +0000 (12:31 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 25 May 2005 22:31:28 +0000 (15:31 -0700)
commit561e148ea972a6e8d2c8f7aecc658b3a64f7a6de
tree39feb619de4a5e6b6a3695082e44398c6140699f
parente4f50f003dc568f6fc3904d451c562007bd09640
[PATCH] IB: fix potential ib_umad leak

Free all unclaimed MAD receive buffers when userspace closes our file so we
don't leak memory.

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