From: Jakub Kicinski <kuba@kernel.org>
To: Zheng Wang <zyytlz.wz@163.com>
Cc: timur@kernel.org, davem@davemloft.net, edumazet@google.com,
pabeni@redhat.com, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, hackerzheng666@gmail.com,
1395428693sheep@gmail.com, alex000young@gmail.com
Subject: Re: [PATCH net] net: qcom/emac: Fix use after free bug in emac_remove due to race condition
Date: Mon, 13 Mar 2023 17:00:46 -0700 [thread overview]
Message-ID: <20230313170046.287bae8d@kernel.org> (raw)
In-Reply-To: <20230310105734.1574078-1-zyytlz.wz@163.com>
On Fri, 10 Mar 2023 18:57:34 +0800 Zheng Wang wrote:
> + netif_carrier_off(netdev);
> + netif_tx_disable(netdev);
> + cancel_work_sync(&adpt->work_thread);
> unregister_netdev(netdev);
> netif_napi_del(&adpt->rx_q.napi);
same problem as in the natsemi driver
next prev parent reply other threads:[~2023-03-14 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 10:57 [PATCH net] net: qcom/emac: Fix use after free bug in emac_remove due to race condition Zheng Wang
2023-03-14 0:00 ` Jakub Kicinski [this message]
2023-03-14 2:11 ` Zheng Hacker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230313170046.287bae8d@kernel.org \
--to=kuba@kernel.org \
--cc=1395428693sheep@gmail.com \
--cc=alex000young@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hackerzheng666@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=timur@kernel.org \
--cc=zyytlz.wz@163.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).