Ferruh Yigit
b7ade5d31a
ethdev: fix crash on owner delete
...
'eth_dev->data' can be null before ethdev allocated. The API walks
through all eth devices, at least for some data can be null.
Adding 'eth_dev->data' null check before accessing it.
Fixes: 33c73aae32e4 ("ethdev: allow ownership operations on unused port")
Cc: stable@dpdk.org
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Chenbo Xia <chenbo.xia@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
2021-11-05 15:35:57 +01:00
..
2021-10-22 22:40:59 +02:00
2021-11-04 19:43:14 +01:00
2021-10-01 15:31:47 +02:00
2021-11-04 19:56:20 +01:00
2021-08-17 08:37:52 +02:00
2021-10-22 23:32:00 +02:00
2021-10-22 22:40:59 +02:00
2021-11-04 19:46:27 +01:00
2021-11-03 15:50:14 +01:00
2021-10-22 22:40:59 +02:00
2021-11-05 15:28:55 +01:00
2021-10-22 22:40:59 +02:00
2021-11-05 15:35:57 +01:00
2021-11-04 13:28:09 +01:00
2021-11-04 12:38:03 +01:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-10-08 14:58:11 +02:00
2021-10-24 13:37:43 +02:00
2021-11-04 11:43:20 +01:00
2021-10-22 22:40:59 +02:00
2021-11-04 19:46:27 +01:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-09-30 17:38:13 +02:00
2021-08-17 08:37:52 +02:00
2021-10-25 19:08:16 +02:00
2021-10-25 17:27:48 +02:00
2021-10-22 22:40:59 +02:00
2021-10-25 16:52:56 +02:00
2021-08-17 08:37:52 +02:00
2021-10-13 22:14:59 +02:00
2021-10-28 20:28:01 +02:00
2021-10-22 22:40:59 +02:00
2021-10-31 23:25:02 +01:00
2021-10-01 13:09:43 +02:00
2021-11-03 12:53:03 +01:00
2021-11-04 18:11:08 +01:00
2021-10-25 14:30:32 +02:00
2021-10-29 12:32:29 +02:00
2021-10-22 22:40:59 +02:00
2021-09-22 22:00:17 +02:00
2021-10-22 22:40:59 +02:00
2021-10-22 22:40:59 +02:00
2021-10-25 19:13:12 +02:00
2021-10-21 09:32:04 +02:00
2021-11-04 15:41:49 +01:00
2021-11-04 19:46:27 +01:00
2021-10-19 17:15:10 +02:00
2021-10-22 22:40:59 +02:00
2021-10-14 20:31:10 +02:00
2021-08-17 08:37:52 +02:00
2021-11-03 11:59:27 +01:00
2021-10-22 22:40:59 +02:00