session: fix transport half-open cleanup call 90/32390/3
authorFlorin Coras <fcoras@cisco.com>
Thu, 20 May 2021 02:33:19 +0000 (19:33 -0700)
committerDamjan Marion <dmarion@me.com>
Thu, 20 May 2021 10:03:46 +0000 (10:03 +0000)
Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I47d241a8f2f9e9d0761d14dcddd3327c3b28932c

src/vnet/session/transport.c

index 5975197..526f1a2 100644 (file)
@@ -307,7 +307,7 @@ transport_cleanup (transport_proto_t tp, u32 conn_index, u8 thread_index)
 void
 transport_cleanup_half_open (transport_proto_t tp, u32 conn_index)
 {
-  if (tp_vfts[tp].cleanup)
+  if (tp_vfts[tp].cleanup_ho)
     tp_vfts[tp].cleanup_ho (conn_index);
 }