[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170925.163511.25037798110859886.davem@davemloft.net>
Date: Mon, 25 Sep 2017 16:35:11 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: timur@...eaurora.org
Cc: netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH] [for 4.14] net: qcom/emac: specify the correct size
when mapping a DMA buffer
From: Timur Tabi <timur@...eaurora.org>
Date: Fri, 22 Sep 2017 15:32:44 -0500
> When mapping the RX DMA buffers, the driver was accidentally specifying
> zero for the buffer length. Under normal circumstances, SWIOTLB does not
> need to allocate a bounce buffer, so the address is just mapped without
> checking the size field. This is why the error was not detected earlier.
>
> Fixes: b9b17debc69d ("net: emac: emac gigabit ethernet controller driver")
> Cc: stable@...r.kernel.org
> Signed-off-by: Timur Tabi <timur@...eaurora.org>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists