vpp-swan: fix incorrect msg ID in register_event 03/39203/3
authorGabriel Oginski <gabrielx.oginski@intel.com>
Thu, 6 Jul 2023 11:13:16 +0000 (11:13 +0000)
committerFan Zhang <fanzhang.oss@gmail.com>
Wed, 19 Jul 2023 02:32:11 +0000 (02:32 +0000)
commitefd2350d65f6d344c0dc5134a208fd8b57f14c33
tree6b0fec17fe70a23bc3e870ff2fe0397598dab2ac
parent73d82d1273a358d119ee8905cfd401a3f16ae655
vpp-swan: fix incorrect msg ID in register_event

This patch addresses the issue where the message ID registration
in the register_event function is incorrect. Due to this incorrect
registration, the lookup for the corresponding callback on received
messages fails, eventually leading to a segmentation fault
and double-free memory space.

Type: fix
Signed-off-by: Gabriel Oginski <gabrielx.oginski@intel.com>
Change-Id: If95182f972f64adb44d514e18c831cc9627d8f0f
extras/strongswan/vpp_sswan/kernel_vpp_net.c