diff options
author | Haishuang Yan <yanhaishuang@cmss.chinamobile.com> | 2017-06-05 08:57:21 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-05 11:24:28 -0400 |
commit | 6044bd4a7d580d4459b992bc6631c817486a1514 (patch) | |
tree | a720b0ac5954bbf1d3bfbb90225c34d35518b41a /net/bridge | |
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>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions