dpdk: postpone updating runtime data 92/34892/1
authorDamjan Marion <damarion@cisco.com>
Wed, 12 Jan 2022 13:09:01 +0000 (14:09 +0100)
committerDamjan Marion <damarion@cisco.com>
Wed, 12 Jan 2022 13:14:55 +0000 (14:14 +0100)
commitb385b95c106123ab095b3bd459b7cbc91089b826
tree698dcb911303757a2ea41a125352a59b3e23d216
parentf715b33f10028b1601e2be88c7eeb938a371016a
dpdk: postpone updating runtime data

This prevents crash due to worker tread accessing device data
while device vector is growing.

Type: fix
Change-Id: I5cf9f53ddbe97fe52db8fd431ea7c0e480f3d4bc
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/plugins/dpdk/device/init.c