diff options
author | 2024-02-15 23:27:17 +0300 | |
---|---|---|
committer | 2024-02-20 10:17:14 +0100 | |
commit | 5559cea2d5aa3018a5f00dd2aca3427ba09b386b (patch) | |
tree | d4ce7eca14d1d723a0c6e195c106157b3bbba4ed /net/unix/af_unix.c | |
parent | enic: Avoid false positive under FORTIFY_SOURCE (diff) | |
download | wireguard-linux-5559cea2d5aa3018a5f00dd2aca3427ba09b386b.tar.xz wireguard-linux-5559cea2d5aa3018a5f00dd2aca3427ba09b386b.zip |
ipv6: sr: fix possible use-after-free and null-ptr-deref
The pernet operations structure for the subsystem must be registered
before registering the generic netlink family.
Fixes: 915d7e5e5930 ("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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions