[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMArcTXOS4z6v5c2JCdAVg0RKjnoovrftx=cjt-09RXp29NW3Q@mail.gmail.com>
Date: Tue, 13 May 2025 12:24:52 +0900
From: Taehee Yoo <ap420073@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
horms@...nel.org, almasrymina@...gle.com, sdf@...ichev.me,
netdev@...r.kernel.org, asml.silence@...il.com, dw@...idwei.uk,
skhawaja@...gle.com, kaiyuanz@...gle.com, jdamato@...tly.com
Subject: Re: [PATCH net v4] net: devmem: fix kernel panic when netlink socket
close after module unload
On Tue, May 13, 2025 at 9:44 AM Jakub Kicinski <kuba@...nel.org> wrote:
>
Hi Jakub,
Thanks a lot for the review :)
> On Mon, 12 May 2025 08:40:59 +0000 Taehee Yoo wrote:
> > @@ -943,8 +943,6 @@ int netdev_nl_bind_rx_doit(struct sk_buff *skb, struct genl_info *info)
> > goto err_unbind;
> > }
> >
> > - list_add(&binding->list, &priv->bindings);
>
> Please leave this list_add() where it was.
list_add() is moved to net_devmem_bind_dmabuf() by this patch.
So, you mean that let's make net_devmem_{bind | unbind}_dmabuf()
don't handle list themself like the v3 patch, right?
There is no problem, I will change it!
Thanks a lot!
Taehee Yoo
> --
> pw-bot: cr
Powered by blists - more mailing lists