Re: [PATCH v2] devlink: fix potential memort leak
From: David Miller
Date: Mon Jun 05 2017 - 11:28:27 EST
From: Haishuang Yan <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Jun 2017 08:57:21 +0800
> 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>
>
> ---
> Changes in v2:
> - Fix same issue in headers_fill.
Applied, thank you.