Aaron Conole
7dee8c7948
net/virtio: fix dangling pointer on failure
...
When eth_virtio_dev_init() is cleaning up, it does not correctly set
the mac_addrs variable to NULL, which will lead to a double free.
Found during unit-test fixes.
Fixes: 43d18765c027 ("net/virtio: fix memory leak on failure")
Cc: stable@dpdk.org
Reported-by: Michael Santana <msantana@redhat.com>
Signed-off-by: Aaron Conole <aconole@redhat.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2019-04-19 14:51:54 +02:00
..
2019-04-17 18:09:52 +02:00
2019-04-05 17:45:22 +02:00
2019-04-04 22:46:05 +02:00
2019-04-04 22:46:05 +02:00
2019-04-17 18:09:52 +02:00
2019-04-17 18:09:52 +02:00
2019-04-19 14:51:54 +02:00
2019-04-12 11:02:02 +02:00
2019-04-04 22:45:54 +02:00
2019-03-21 20:45:59 +01:00
2019-04-17 18:09:52 +02:00
2019-04-17 18:09:52 +02:00
2019-04-04 22:46:05 +02:00
2019-04-12 11:02:02 +02:00
2019-04-19 14:51:54 +02:00
2019-04-12 11:02:02 +02:00
2019-04-17 18:09:52 +02:00
2019-03-29 17:25:32 +01:00
2019-04-12 11:02:02 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00
2019-04-05 17:45:22 +02:00
2019-04-04 22:46:05 +02:00
2019-04-04 22:46:05 +02:00
2019-04-18 18:22:42 +02:00
2019-04-19 14:51:54 +02:00
2019-04-04 22:46:05 +02:00
2019-04-04 22:46:05 +02:00
2019-03-29 17:25:32 +01:00
2019-04-12 17:01:13 +02:00
2019-04-17 18:09:52 +02:00
2018-10-26 22:14:05 +02:00
2019-03-20 18:15:42 +01:00
2019-04-04 22:45:54 +02:00
2019-04-04 22:46:05 +02:00
2019-04-04 22:45:54 +02:00
2019-04-12 11:02:02 +02:00
2019-04-17 18:09:52 +02:00
2018-10-26 22:14:05 +02:00
2019-04-17 18:09:52 +02:00
2018-11-14 00:35:53 +01:00
2019-04-17 18:09:52 +02:00
2018-12-21 16:22:41 +01:00
2019-04-19 14:51:54 +02:00
2018-12-13 17:53:50 +00:00
2019-04-19 14:51:54 +02:00
2019-04-19 14:51:54 +02:00