JIRA: https://issues.redhat.com/browse/RHEL-85646
Upstream Status: linux.git
Conflicts: Missing upstream commit e0f89d2864b0 ("mpls: no longer hold
RTNL in mpls_netconf_dump_devconf()"):
mpls_netconf_dump_devconf() still depend on rtnl lock in
Centos Stream 9. Therefore we can't use the
RTNL_FLAG_DUMP_UNLOCKED flag.
commit 5be2062e3080e3ff6707816caa445ec0c6eaacf7
Author: Kuniyuki Iwashima <kuniyu@amazon.com>
Date: Tue Oct 8 11:47:36 2024 -0700
mpls: Handle error of rtnl_register_module().
Since introduced, mpls_init() has been ignoring the returned
value of rtnl_register_module(), which could fail silently.
Handling the error allows users to view a module as an all-or-nothing
thing in terms of the rtnetlink functionality. This prevents syzkaller
from reporting spurious errors from its tests, where OOM often occurs
and module is automatically loaded.
Let's handle the errors by rtnl_register_many().
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
af_mpls.c | ||
internal.h | ||
mpls_gso.c | ||
mpls_iptunnel.c |