From mboxrd@z Thu Jan 1 00:00:00 1970 From: Or Gerlitz Subject: Re: Mlx4: BUG: unable to handle kernel at ffffffffa02be210 Date: Wed, 8 Jul 2015 16:49:52 +0300 Message-ID: <559D2A80.4040909@mellanox.com> References: <559D1562.2070309@mellanox.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jack Wang Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , Jack Morgenstein , Moni Shoua List-Id: linux-rdma@vger.kernel.org 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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html