[openib-general] [PATCH] user_mad: fix mad header parsing
Hal Rosenstock
halr at voltaire.com
Mon Nov 28 10:05:25 PST 2005
On Mon, 2005-11-28 at 12:40, Michael S. Tsirkin wrote:
> Looks like there's a bug in user_mad.c.
> Does the following make sense?
Yes.
>
> ---
>
> 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 mkey, or something.
MKey for SMPs; something else for GMPs incapable of RMPP.
-- Hal
More information about the general
mailing list