diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2019-04-02 11:09:49 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2019-04-03 14:42:37 +0000 |
commit | 692f9b1205be8e61c0782b0711ec2393f8203e3e (patch) | |
tree | 16b0bfe32a202cbdae51302f36859389ef6350eb /src/vnet/tcp/tcp_newreno.c | |
parent | 211ef2eb24752faeb8a8cb1e3e727e008acf921e (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/tcp/tcp_newreno.c')
0 files changed, 0 insertions, 0 deletions