mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ipv6: sr: fix possible use-after-free and null-ptr-deref
[ Upstream commit5559cea2d5] The pernet operations structure for the subsystem must be registered before registering the generic netlink family. Fixes:915d7e5e59("ipv6: sr: add code base for control plane support of SR-IPv6") Signed-off-by: Vasiliy Kovalev <kovalev@altlinux.org> Link: https://lore.kernel.org/r/20240215202717.29815-1-kovalev@altlinux.org Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
e8530b170e
commit
8391b9b651
1 changed files with 11 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue