vlib: fixed the issue of vpp crash caused by interface up/down 44/33244/4
authorfangtong <fangtong2007@163.com>
Sat, 24 Jul 2021 06:55:02 +0000 (14:55 +0800)
committerDamjan Marion <dmarion@me.com>
Tue, 31 Aug 2021 21:06:17 +0000 (21:06 +0000)
commit33b18d40c77875ebd4bf807e668bda6479904936
treef00661223ca49acc4c33684be02cbe7b7884aa72
parent29dc67b5cbc96c988d6f859728ee040ff4991cf4
vlib: fixed the issue of vpp crash caused by interface up/down

When the interface status changes, the api of vnet_hw_interface_set_flags_helper calls the event processing function (vlib_process_signal_event_helper) for event processing. When the opinter data_vec is NULL, the _ven_len operation of an illegal address will cause vpp crash.

Type:fix

Signed-off-by: fangtong <fangtong2007@163.com>
Change-Id: I7106b2aed7a1fc17f74bf6cb513912af97584f45
src/vlib/node_funcs.h