Dan Carpenter
83fe9a9661
devlink: double free in devlink_resource_fill()
...
Smatch reports that devlink_dpipe_send_and_alloc_skb() frees the skb
on error so this is a double free. We fixed a bunch of these bugs in
commit 7fe4d6dcbcb4 ("devlink: Remove redundant free on error path") but
we accidentally overlooked this one.
Fixes: d9f9b9a4d05f ("devlink: Add support for resource abstraction")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-09-21 19:19:07 -07:00
..
2018-07-06 12:32:12 +02:00
2018-08-17 17:27:58 -07:00
2018-07-24 14:10:43 -07:00
2018-06-28 10:40:47 -07:00
2018-08-15 15:04:25 -07:00
2018-07-24 14:10:42 -07:00
2018-09-14 17:59:20 +02:00
2018-09-11 13:33:57 +02:00
2018-08-03 00:47:32 +02:00
2018-08-15 15:04:25 -07:00
2018-08-06 10:33:44 -07:00
2018-07-30 09:10:25 -07:00
2018-06-28 10:40:47 -07:00
2018-08-13 17:55:44 +02:00
2018-09-21 19:19:07 -07:00
2018-07-27 13:17:50 -07:00
2018-08-09 11:52:36 -07:00
2018-08-09 14:11:24 -07:00
2018-07-24 14:10:43 -07:00
2018-08-27 15:24:33 -07:00
2018-06-26 11:33:04 +09:00
2018-08-06 11:21:15 +02:00
2018-04-22 21:12:00 -04:00
2018-09-16 15:27:44 -07:00
2018-09-21 19:10:49 -07:00
2018-09-05 22:32:22 -07:00
2018-09-17 18:43:42 -07:00
2018-07-27 09:33:37 -07:00
2018-08-13 20:45:49 -07:00
2018-08-09 11:52:36 -07:00
2018-09-03 22:12:02 -07:00
2018-08-06 11:21:37 +02:00
2018-07-24 14:10:42 -07:00
2018-08-22 21:39:08 -07:00
2018-09-11 21:17:30 -07:00
2018-09-21 18:58:34 -07:00
2018-08-05 13:04:31 -07:00
2018-06-28 10:40:47 -07:00
2018-09-18 19:55:01 -07:00
2018-07-12 16:55:29 -07:00
2018-08-02 10:55:32 -07:00
2018-08-31 23:00:28 -07:00
2018-06-28 10:40:47 -07:00
2018-07-05 20:20:03 +09:00
2018-09-12 00:09:19 -07:00
2018-09-03 22:12:02 -07:00
2018-06-28 10:40:47 -07:00
2018-08-15 15:04:25 -07:00
2018-09-14 08:46:28 -07:00
2018-09-20 11:29:30 -07:00
2018-09-20 07:49:55 -07:00
2018-08-01 10:00:06 -07:00
2018-08-23 16:03:58 -07:00
2018-09-12 13:15:04 -07:00
2018-09-17 08:03:09 -07:00
2018-08-03 16:44:19 -07:00
2018-08-07 12:39:13 -07:00
2018-07-24 14:10:42 -07:00
2018-09-03 22:12:02 -07:00
2018-07-24 14:10:42 -07:00
2018-08-21 22:06:53 +02:00
2018-08-02 10:55:32 -07:00
2018-08-06 10:42:48 -07:00
2018-07-24 14:10:43 -07:00
2018-06-28 13:36:39 +09:00
2018-09-13 16:01:06 -07:00
2018-03-27 13:18:09 -04:00