aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf_api.c
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2021-04-08 09:31:27 -0700
committerSteven Luong <sluong@cisco.com>2021-04-08 09:39:26 -0700
commit89ca7df0deb48cf8a9d4e6a68f11a5ad6d6d6787 (patch)
tree5c5a6ea5fdbb242cd07387851310649391e80442 /src/plugins/avf/avf_api.c
parentfda21c97017c1f7bcfa1a0903ca605b89f3148f0 (diff)
avf: crash on avf interface delete
When deleting an avf interface which is not the very first interface that was created (dev_instance == 0), VPP crashes. The reason is every avf interface delete always removes the very first device instance due to ad->dev_instance was wiped out prior to the statement pool_put_index (am->devices, ad->dev_instance) Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I69bd1588aab9a176f8eef46be7aa5063f5d29482
Diffstat (limited to 'src/plugins/avf/avf_api.c')
0 files changed, 0 insertions, 0 deletions