IB/umad: fix RMPP handling
authorMichael S. Tsirkin <mst@mellanox.co.il>
Mon, 28 Nov 2005 21:07:20 +0000 (13:07 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 28 Nov 2005 21:07:20 +0000 (13:07 -0800)
ib_umad_write in user_mad.c is looking at rmpp_hdr field in MAD before
checking that the MAD actually has the RMPP header.  So for a MAD
without RMPP header it looks like we are actually checking a bit
inside M_Key, or something.

Signed-off-by: Jack Morgenstein <jackm@mellanox.co.il>
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found