diff options
author | Damjan Marion <damarion@cisco.com> | 2020-08-20 17:28:20 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-09-11 07:49:45 +0000 |
commit | 66bb7dd64ee2377103e18b96f1e6bf6405de44b5 (patch) | |
tree | 1a98102ba4c0346431de03717d0c6dbf7344e443 /src/vppinfra/elf.h | |
parent | 78681def21b931309a779dfc6a5cbc6ff8b1f814 (diff) |
avf: fix race between avf process node and avf_delete_if(...)
It may happen that process node is suspended while it waits for response
from adminq and during that time CLI or API process can call
avf_delete_if. When avf process node resumes, it may happen that device
is not there anymeore.
This patch delegates interface deletion to process node, so CLI/API
process just sends signal instead of deleting device instance itself.
Type: fix
Change-Id: I7f12e12df3071650f6e60ad7eb5af23b7acfe335
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/elf.h')
0 files changed, 0 insertions, 0 deletions