[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101231.110414.59672398.davem@davemloft.net>
Date: Fri, 31 Dec 2010 11:04:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: mchan@...adcom.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/2] bnx2: Free IRQ before freeing status
block memory
From: "Michael Chan" <mchan@...adcom.com>
Date: Thu, 23 Dec 2010 18:21:59 -0800
> When changing ring size, we free all memory including status block
> memory. If we're in INTA mode and sharing IRQ, the IRQ handler can
> be called and it will reference the NULL status block pointer.
>
> Because of the lockless design of the IRQ handler, there is no simple
> way to synchronize and prevent this. So we avoid this problem by
> freeing the IRQ handler before freeing the status block memory.
>
> Signed-off-by: Michael Chan <mchan@...adcom.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists