From: Jakub Kicinski <kuba@kernel.org>
To: Ziwei Xiao <ziweixiao@google.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
pabeni@redhat.com, jeroendb@google.com, pkaligineedi@google.com,
shailend@google.com, hramamurthy@google.com, willemb@google.com,
rushilg@google.com, bcf@google.com, csully@google.com,
linux-kernel@vger.kernel.org, stable@kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH net] gve: Clear napi->skb before dev_kfree_skb_any()
Date: Thu, 13 Jun 2024 07:39:28 -0700 [thread overview]
Message-ID: <20240613073928.5d588cf2@kernel.org> (raw)
In-Reply-To: <20240612001654.923887-1-ziweixiao@google.com>
On Wed, 12 Jun 2024 00:16:54 +0000 Ziwei Xiao wrote:
> + if (rx->ctx.skb_head == napi->skb)
> + napi->skb = NULL;
There doesn't seem to be much precedent for directly poking at this
field in drivers but I don't have any better ideas..
next prev parent reply other threads:[~2024-06-13 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-12 0:16 Ziwei Xiao
2024-06-13 14:39 ` Jakub Kicinski [this message]
2024-06-13 14:40 ` patchwork-bot+netdevbpf
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=20240613073928.5d588cf2@kernel.org \
--to=kuba@kernel.org \
--cc=bcf@google.com \
--cc=csully@google.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hramamurthy@google.com \
--cc=jeroendb@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pkaligineedi@google.com \
--cc=rushilg@google.com \
--cc=shailend@google.com \
--cc=stable@kernel.org \
--cc=stable@vger.kernel.org \
--cc=willemb@google.com \
--cc=ziweixiao@google.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
all inboxes | Powered by JetHome®