Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-23

Re: [PATCH v2] net: check return value of rhashtable_init

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-09-23 12:58:05

On Thu, 23 Sep 2021 12:53:17 +0000 MichelleJin wrote:
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 and possible memory leaks.

Signed-off-by: MichelleJin <redacted>
Please split this into 3 patches (ipv6, mlx, mac80211).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help