Haishuang Yan 6044bd4a7d 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>
2017-06-05 11:24:28 -04:00
..
2017-06-05 11:24:28 -04:00
2017-03-12 23:47:16 -07:00
2017-05-26 14:57:07 -04:00
2017-04-14 10:05:36 +02:00
2017-04-27 16:35:57 -04:00
2017-04-03 19:04:48 -07:00
2017-04-25 13:33:49 -04:00
2015-04-02 14:04:59 -04:00
2015-11-22 11:54:10 -05:00
2017-04-13 13:58:20 -04:00
2015-10-26 22:24:22 -07:00