diff options
author | Steven Luong <sluong@cisco.com> | 2021-01-19 23:09:51 -0800 |
---|---|---|
committer | Steven Luong <sluong@cisco.com> | 2021-01-19 23:14:42 -0800 |
commit | 7f1d780f0be6e176bd19809c2d733e7ebd0007c4 (patch) | |
tree | 081b92ed79c73dca93e30173dc6abc61ce46fd87 /src/vnet/ipip/ipip.c | |
parent | 533ac64330436752f82477973e4587e2197c4719 (diff) |
classify: crash on classify filter pcap del command
If classify pcap filter was never configured, typing the delete
command causes a crash. The reason is
cm->classify_table_index_by_sw_if_index not yet allocated.
The fix is to add a check before we access the vector.
Type: fix
Fixes: gerrit 28475
Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Ia33bd91fa82d8ffc4490d4069155980a6e233268
Diffstat (limited to 'src/vnet/ipip/ipip.c')
0 files changed, 0 insertions, 0 deletions