Re: [PATCH] net: rocker: fix a potential NULL pointer dereference

From: David Miller
Date: Mon Mar 11 2019 - 19:18:07 EST


From: Kangjie Lu <kjlu@xxxxxxx>
Date: Mon, 11 Mar 2019 02:06:06 -0500

> In case kzalloc fails, the fix releases resources and returns
> NOTIFY_BAD to avoid NULL pointer dereference.
>
> Signed-off-by: Kangjie Lu <kjlu@xxxxxxx>

Applied.