Messages in this thread | | | Subject | Re: [PATCH net-next] net/af_packet: registration process optimization in packet_init() | From | patchwork-bot+netdevbpf@kernel ... | Date | Wed, 21 Sep 2022 12:00:16 +0000 |
| |
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <davem@davemloft.net>:
On Thu, 15 Sep 2022 09:08:35 +0800 you wrote: > Now, register_pernet_subsys() and register_netdevice_notifier() are both > after sock_register(). It can create PF_PACKET socket and process socket > once sock_register() successfully. It is possible PF_PACKET socket is > creating but register_pernet_subsys() and register_netdevice_notifier() > are not registered yet. Thus net->packet.sklist_lock and net->packet.sklist > will be accessed without initialization that is done in packet_net_init(). > Although this is a low probability scenario. > > [...]
Here is the summary with links: - [net-next] net/af_packet: registration process optimization in packet_init() https://git.kernel.org/netdev/net-next/c/63b7c2ebcc1d
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |