[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <170197264245.15422.7349743280865094840.git-patchwork-notify@kernel.org>
Date: Thu, 07 Dec 2023 18:10:42 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Sean Nyekjaer <sean@...nix.com>
Cc: woojung.huh@...rochip.com, UNGLinuxDriver@...rochip.com,
andrew@...n.ch, f.fainelli@...il.com, olteanv@...il.com,
davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, arun.ramadoss@...rochip.com, ceggers@...i.de,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net] net: dsa: microchip: provide a list of valid protocols
for xmit handler
Hello:
This patch was applied to bpf/bpf.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Wed, 6 Dec 2023 08:16:54 +0100 you wrote:
> Provide a list of valid protocols for which the driver will provide
> it's deferred xmit handler.
>
> When using DSA_TAG_PROTO_KSZ8795 protocol, it does not provide a
> "connect" method, therefor ksz_connect() is not allocating ksz_tagger_data.
>
> This avoids the following null pointer dereference:
> ksz_connect_tag_protocol from dsa_register_switch+0x9ac/0xee0
> dsa_register_switch from ksz_switch_register+0x65c/0x828
> ksz_switch_register from ksz_spi_probe+0x11c/0x168
> ksz_spi_probe from spi_probe+0x84/0xa8
> spi_probe from really_probe+0xc8/0x2d8
>
> [...]
Here is the summary with links:
- [v2,net] net: dsa: microchip: provide a list of valid protocols for xmit handler
https://git.kernel.org/bpf/bpf/c/1499b89289bf
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