diff options
author | varasteh <mahdy.varasteh@gmail.com> | 2022-01-02 14:20:32 +0330 |
---|---|---|
committer | Damjan Marion <dmarion@0xa5.net> | 2023-03-06 17:39:33 +0000 |
commit | 8181727ee518d46ac2f45b769e273431211257a6 (patch) | |
tree | 00d5cebc338ab08e41adb23da0fa6dd400fdf0dd /src/vlib/init.h | |
parent | 88d9414e82e2106066047d58c5f0865f3df22ea3 (diff) |
interface: more cleaning after set flags is failed in vnet_create_sw_interface
There's a chance that vnet_sw_interface_set_flags_helper()
has successfully called some sw interface add callback functions
before returning the error. So the sw interface del callbacks
should also be called
Type: fix
Signed-off-by: varasteh <mahdy.varasteh@gmail.com>
Change-Id: I2cd7dc6d5b3a5ebfd2c4d1a6be5390083dee6401
Signed-off-by: varasteh <mahdy.varasteh@gmail.com>
Diffstat (limited to 'src/vlib/init.h')
0 files changed, 0 insertions, 0 deletions