[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111109.153927.1757753106148770956.davem@davemloft.net>
Date: Wed, 09 Nov 2011 15:39:27 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: ricardo.ribalda@...il.com
Cc: ian.campbell@...rix.com, eric.dumazet@...il.com,
jeffrey.t.kirsher@...el.com, jpirko@...hat.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net/temac: FIX segfault when process old irqs
From: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Date: Tue, 8 Nov 2011 10:31:58 +0100
> Do not enable the irq until the scatter gather registers are ready to
> handle the data. Otherwise an irq from a packet send/received before
> last close can lead to an access to an invalid memory region on the irq
> handler.
>
> Also, stop the dma engine on close.
>
> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
Applied, thanks.
--
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