]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit0bd4c6fb2bf9e167ea7182bcf0e194cdab45fa43
tree39feb619de4a5e6b6a3695082e44398c6140699f
parent2531c97224164820ee0bdcf0bc5e59a91ad4f5d6
[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