commit | 6044bd4a7d580d4459b992bc6631c817486a1514 | [log] [tgz] |
---|---|---|
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | Mon Jun 05 08:57:21 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jun 05 11:24:28 2017 -0400 |
tree | a720b0ac5954bbf1d3bfbb90225c34d35518b41a | |
parent | 1e0ce2a1ee0d5fb334e82e80600f1e8e77df525c [diff] |
devlink: fix potential memort leak We must free allocated skb when genlmsg_put() return fails. Fixes: 1555d204e743 ("devlink: Support for pipeline debug (dpipe)") Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>