[openib-general] Fwd: bug in mthca_qp.c (GEN 2)

Michael S. Tsirkin mst at mellanox.co.il
Mon Feb 5 10:57:09 PST 2007


Roland, what do you think?
Looks pretty severe actually.

----- Forwarded message from Jack Morgenstein <jackm at mellanox.co.il> -----

Subject: bug in mthca_qp.c (GEN 2)
Date: Mon, 5 Feb 2007 12:44:11 +0200
From: Jack Morgenstein <jackm at mellanox.co.il>

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);
 
SHOULD BE:
     memset(ib_ah_attr, 0, sizeof *ib_ah_attr);


----- End forwarded message -----

-- 
MST




More information about the general mailing list