[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <45ED4D9B.9090100@garzik.org>
Date: Tue, 06 Mar 2007 06:16:43 -0500
From: Jeff Garzik <jeff@...zik.org>
To: akpm@...ux-foundation.org
CC: netdev@...r.kernel.org, giri@....cs.sunysb.edu,
dale@...nsworth.org, pgiri@...oo.com
Subject: Re: [patch 18/19] mv643xx ethernet driver IRQ registration fix
akpm@...ux-foundation.org wrote:
> From: Giridhar Pemmasani <giri@....cs.sunysb.edu>
>
> During initialization, mv643xx driver registers IRQ before setting up tx/rx
> rings. This causes kernel oops because mv643xx_poll, which gets called
> right after registering IRQ, calls netif_rx_complete, which accesses the rx
> ring (I don't have the oops message anymore; I just remember this sequence
> of calls). Attached (tested) patch first initializes the rx/tx rings and
> then registers the IRQ.
>
> Signed-off-by: Giridhar Pemmasani <pgiri@...oo.com>
> Cc: Dale Farnsworth <dale@...nsworth.org>
> Cc: Jeff Garzik <jeff@...zik.org>
> Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
> ---
>
> drivers/net/mv643xx_eth.c | 40 +++++++++++++++++++-----------------
> 1 file changed, 22 insertions(+), 18 deletions(-)
seems sane enough to me, but I would like to get this via Dale, who has
been a fairly active maintainer so far
-
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