Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

8375 Kernel memory leak in nvpair code #398

Closed
wants to merge 1 commit into from

Conversation

sdimitro
Copy link

In nvs_embedded(), when we return EINVAL due to reaching
the recursion limit, we should free the nvpriv_t that was
allocated earlier in the function.

Reviewed by: Pavel Zakharov pavel.zakharov@delphix.com
Reviewed by: George Wilson george.wilson@delphix.com
Reviewed by: Prashanth Sreenivasa pks@delphix.com

In nvs_embedded(), when we return EINVAL due to reaching
the recursion limit, we should free the nvpriv_t that was
allocated earlier in the function.

Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Prashanth Sreenivasa <pks@delphix.com>
@rmustacc
Copy link

This looks good to me, thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants