[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201012100750.125a55ab@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Mon, 12 Oct 2020 10:07:50 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Cc: Valentin Vidic <vvidic@...entin-vidic.from.hr>,
"David S. Miller" <davem@...emloft.net>,
Philip Rischel <rischelp@....com>,
Florian Fainelli <florian@...nwrt.org>,
Roman Yeryomin <roman@...em.lv>,
Andrew Morton <akpm@...ux-foundation.org>,
Mike Rapoport <rppt@...nel.org>,
Martin Habets <mhabets@...arflare.com>,
"Michael S. Tsirkin" <mst@...hat.com>,
Network Development <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2] net: korina: fix kfree of rx/tx descriptor array
On Sun, 11 Oct 2020 18:53:31 -0400 Willem de Bruijn wrote:
> On Sun, Oct 11, 2020 at 6:04 PM Valentin Vidic wrote:
> > kmalloc returns KSEG0 addresses so convert back from KSEG1
> > in kfree. Also make sure array is freed when the driver is
> > unloaded from the kernel.
> >
> > Fixes: ef11291bcd5f ("Add support the Korina (IDT RC32434) Ethernet MAC")
> > Signed-off-by: Valentin Vidic <vvidic@...entin-vidic.from.hr>
>
> Ah, this a MIPS architecture feature, both KSEGs mapping the same
> region, just cachable vs non-cachable.
>
> Acked-by: Willem de Bruijn <willemb@...gle.com>
Applied, thank you!
Powered by blists - more mailing lists