[openib-general] please pull for 2.6.21: fix + add IB multicast support

Michael S. Tsirkin mst at mellanox.co.il
Sat Feb 10 09:51:18 PST 2007


> > +
> > 
> > It seems same goes for
> > 
> > +       mc = kzalloc(sizeof(*mc), GFP_KERNEL);
> > +       if (!mc)
> > +               return NULL;
> 
> We would need to set events_reported.

IMO, probably worth it to init just this one field rather than use up
initialized memory - and I think it's clearer.

-- 
MST




More information about the general mailing list