session: application namespace may reference a deleted vrf table 48/41248/10
authorSteven Luong <sluong@cisco.com>
Mon, 8 Jul 2024 18:21:23 +0000 (11:21 -0700)
committerFlorin Coras <florin.coras@gmail.com>
Mon, 15 Jul 2024 20:57:35 +0000 (20:57 +0000)
commit67bae20b05cb46e5f6d19afeaf1f7a52a5309d59
tree2c05544136add3eeb35e29228a6ca30bc8d064e4
parentca2f2e1ec9131c01b340381f2cbbac2bc5951566
session: application namespace may reference a deleted vrf table

lock the vrf table when adding an application namespace and
unlock the vrf table when deleting an application namespace.

Free the session table when no more application namespace
uses it anymore to avoid memory leaks.

Type: fix

Change-Id: I10422c9a3b549bd4403962c925e29dd61a058eb0
Signed-off-by: Steven Luong <sluong@cisco.com>
src/vnet/session/application_namespace.c
test/asf/test_quic.py
test/asf/test_session.py
test/asf/test_tcp.py
test/asf/test_tls.py
test/asf/test_vcl.py
test/test_udp.py