]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] IB: Fix user MAD registrations with class 0
authorRoland Dreier <roland@topspin.com>
Sat, 16 Apr 2005 22:26:11 +0000 (15:26 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:26:11 +0000 (15:26 -0700)
commit1670a8f65ee91dfbe6f4dd3c9cb173e5cf3763b4
treef10d2e11dfe18fa1e49ed7903513c53889b03d9c
parent4d6a62ce60994b59611f59d30b7ba1a99affaea9
[PATCH] IB: Fix user MAD registrations with class 0

Fix handling of MAD agent registrations with mgmt_class == 0.  In this case
ib_umad should pass a NULL registration request to the MAD core rather than a
request with mgmt_class set to 0.

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