[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1394239646.2582.0.camel@jtkirshe-mobl>
Date: Fri, 07 Mar 2014 16:47:26 -0800
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
To: Marcelo Tosatti <mtosatti@...hat.com>
Cc: Vladimir Davydov <VDavydov@...allels.com>,
e1000-devel@...ts.sourceforge.net, netdev@...r.kernel.org
Subject: Re: [PATCH] e1000: do not allow watchdog to reenable transmits on
shutdown (v2)
On Fri, 2014-03-07 at 17:59 -0300, Marcelo Tosatti wrote:
> There is a race on the shutdown path of the e1000 driver
> that allows the card to DMA into free'd memory.
>
> The symptoms are similar to those described at
> commit d5bc77a223b0e9b9dfb002048d2b34a79e7d0b48,
> "e1000: don't enable dma receives until after dma address has been
> setup", where memory corruption is visible due to E1000_RXD_STAT_DD
> being written to the DMA transfer descriptor.
>
> Fix by not allowing the watchdog and tx fifo stall detector
> to re-enable E1000_TCTL_EN.
>
> Signed-off-by: Marcelo Tosatti <mtosatti@...hat.com>
Thanks for the updated patch, I will update my queue.
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists