[openib-general] [PATCH] user_mad: Add receive side RMPP support

Hal Rosenstock halr at voltaire.com
Thu Jun 30 09:40:27 PDT 2005


On Thu, 2005-06-30 at 12:34, Sean Hefty wrote:
> Hal Rosenstock wrote:
> > -	if (count < sizeof (struct ib_user_mad) + 256) /* until RMPP supported */ 
> > +	if (count < sizeof (struct ib_user_mad) + 256)
> >  		return -EINVAL;
> 
> Does it make more sense to use sizeof(struct ib_mad) rather than 256?

But of course. I'll update and reissue the patch. Thanks.

-- Hal




More information about the general mailing list