]> err.no Git - linux-2.6/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)
commit0df3bb131f789f5929f7a239869e9945e4a5a734
tree5adceeb11682b6ea0ed5df9e817e26e648197c95
parent20aa65699c4112733770100b7f0cce4ad046405e
[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