On 7/8/2015 3:47 PM, Jack Wang wrote:
static void mlx4_ib_cq_comp(struct mlx4_cq *cq)
47 {
48 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq;
49 ibcq->comp_handler(ibcq, ibcq->cq_context);
50 }

Looks like cq use-after-free? I have no idea where.

see if you have in the code base you're using (why not the stock 3.18.14 driver, BTW?) all the synchronize_irq
calls we have in the latest upstream driver:

drivers/net/ethernet/mellanox/mlx4/cq.c:371: synchronize_irq(priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq); drivers/net/ethernet/mellanox/mlx4/cq.c:374: synchronize_irq(priv->eq_table.eq[MLX4_EQ_ASYNC].irq);
drivers/net/ethernet/mellanox/mlx4/eq.c:1088: synchronize_irq(eq->irq);

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to