[ofa-general] a possible bug in drivers/infiniband/hw/mthca/mthca_qp.c

Roland Dreier rdreier at cisco.com
Wed Jun 20 08:06:58 PDT 2007


 > static void to_ib_ah_attr(struct mthca_dev *dev, struct ib_ah_attr *ib_ah_attr,
 >                                 struct mthca_qp_path *path)
 > {
 > 	memset(ib_ah_attr, 0, sizeof *path);
 > 
 > I think it shall be 'sizeof *ib_ah_attr' instead. Please CC me - I'm
 > not on this list.

Yes, you're right, but what source are you looking at?  The fix went
into the kernel with commit 99d4f22e in 2.6.21-rc1, back in February.

 - R.



More information about the general mailing list