A failure during registration of the netdev notifier was not handled at all. A failure during netlink initialization did not unregister the netdev notifier. Handle failures of netdev notifier registration and netlink initialization. Both functions should only return negative values on failure and thereby lead to the hsr module not being loaded. 社区有patch已经解决 clk: Fix clk_core_get NULL dereference commit f6c6ca618e93542f76093c69740e9ee4d3e4e938 Reference:https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-5.10.y&id=f6c6ca618e93542f76093c69740e9ee4d3e4e938 git cherry-pick -s f6c6ca618(with stable-v5.10.215 repo added)
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3092