[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1520274223.109662.8.camel@gmail.com>
Date: Mon, 05 Mar 2018 10:23:43 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>, davem@...emloft.net
Cc: Pierre-Yves Kerbrat <pkerbrat@...ray.eu>, netdev@...r.kernel.org,
nhorman@...hat.com, sassmann@...hat.com, jogreene@...hat.com,
Marius Gligor <mgligor@...ray.eu>
Subject: Re: [net-next 4/4] e1000e: allocate ring descriptors with
dma_zalloc_coherent
On Mon, 2018-03-05 at 10:16 -0800, Jeff Kirsher wrote:
> From: Pierre-Yves Kerbrat <pkerbrat@...ray.eu>
>
> Descriptor rings were not initialized at zero when allocated
> When area contained garbage data, it caused skb_over_panic in
> e1000_clean_rx_irq (if data had E1000_RXD_STAT_DD bit set)
>
> This patch makes use of dma_zalloc_coherent to make sure the
> ring is memset at 0 to prevent the area from containing garbage.
>
This looks like a net candidate, fixing a bug, with 0 chance adding a
regression IMO.
Powered by blists - more mailing lists