WSL2-Linux-Kernel/net/ipv6/ila
MichelleJin f04ed7d277 net: ipv6: check return value of rhashtable_init
When rhashtable_init() fails, it returns -EINVAL.
However, since error return value of rhashtable_init is not checked,
it can cause use of uninitialized pointers.
So, fix unhandled errors of rhashtable_init.

Signed-off-by: MichelleJin <shjy180909@gmail.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-28 12:59:24 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ila.h ila: remove unused inline function ila_addr_is_ila 2020-04-29 12:01:31 -07:00
ila_common.c ila: remove blank lines at EOF 2018-07-24 14:10:42 -07:00
ila_lwt.c net: add net available in build_state 2020-03-29 22:30:57 -07:00
ila_main.c net: Add MODULE_DESCRIPTION entries to network modules 2020-06-20 21:33:57 -07:00
ila_xlat.c net: ipv6: check return value of rhashtable_init 2021-09-28 12:59:24 +01:00