aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-04-02 11:09:49 +0000
committerDamjan Marion <dmarion@me.com>2019-04-03 14:42:37 +0000
commit692f9b1205be8e61c0782b0711ec2393f8203e3e (patch)
tree16b0bfe32a202cbdae51302f36859389ef6350eb /src/vnet/devices/virtio
parent211ef2eb24752faeb8a8cb1e3e727e008acf921e (diff)
pci: Fix the crash on deleting the pci device
clib_file_index is 0 if it is not initialized result in following assertion on deleteing the pci device. vpp/src/vppinfra/file.h:122 (clib_file_del_by_index) assertion `! pool_is_free (um->file_pool, _e)' fails This patch fixes the issue by initializing the clib_file_index to -1. Change-Id: I51d23f18e7ccf3143a4765d05aafc1363a007737 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio')
0 files changed, 0 insertions, 0 deletions