| lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
|
Open Source and information security mailing list archives
| ||
|
Message-ID: <79fa0c14-a203-1e0b-532d-846551ccaf36@omp.ru>
Date: Wed, 4 Oct 2023 21:46:41 +0300
From: Sergey Shtylyov <s.shtylyov@....ru>
To: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
<davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>
CC: <netdev@...r.kernel.org>, <linux-renesas-soc@...r.kernel.org>
Subject: Re: [PATCH net 1/2] ravb: Fix dma_free_coherent() of desc_bat timing
in ravb_remove()
On 10/4/23 12:12 PM, Yoshihiro Shimoda wrote:
> The dma_free_coherent() in ravb_remove() should be called after
How about:
In ravb_remove(), dma_free_coherent() should be called after unregister_netdev().
> unregister_netdev(). Otherwise, this controller is possible to use
> the freed buffer.
>
> Fixes: c156633f1353 ("Renesas Ethernet AVB driver proper")
> Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@....ru>
[...]
MBR, Sergey
Powered by blists - more mailing lists