[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164695800997.16598.9462680209736026298.git-patchwork-notify@kernel.org>
Date: Fri, 11 Mar 2022 00:20:09 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: kuba@...nel.org, toke@...hat.com, netdev@...r.kernel.org,
bpf@...r.kernel.org, ast@...nel.org, andrii@...nel.org,
daniel@...earbox.net, davem@...emloft.net, mingo@...hat.com,
hawk@...nel.org, john.fastabend@...il.com, kpsingh@...nel.org,
kafai@...com, songliubraving@...com, rostedt@...dmis.org,
tglx@...utronix.de, yhs@...com
Subject: Re: [PATCH net v3] xdp: xdp_mem_allocator can be NULL in
trace_mem_connect().
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 9 Mar 2022 23:13:45 +0100 you wrote:
> Since the commit mentioned below __xdp_reg_mem_model() can return a NULL
> pointer. This pointer is dereferenced in trace_mem_connect() which leads
> to segfault.
>
> The trace points (mem_connect + mem_disconnect) were put in place to
> pair connect/disconnect using the IDs. The ID is only assigned if
> __xdp_reg_mem_model() does not return NULL. That connect trace point is
> of no use if there is no ID.
>
> [...]
Here is the summary with links:
- [net,v3] xdp: xdp_mem_allocator can be NULL in trace_mem_connect().
https://git.kernel.org/netdev/net/c/e0ae713023a9
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists