Re: [PATCH v2] devlink: fix potential memort leak

From: Jiri Pirko
Date: Mon Jun 05 2017 - 00:51:28 EST


Mon, Jun 05, 2017 at 02:57:21AM CEST, yanhaishuang@xxxxxxxxxxxxxxxxxxxx wrote:
>We must free allocated skb when genlmsg_put() return fails.
>
>Fixes: 1555d204e743 ("devlink: Support for pipeline debug (dpipe)")
>Signed-off-by: Haishuang Yan <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>

Acked-by: Jiri Pirko <jiri@xxxxxxxxxxxx>

Thanks.