session: allow closed transports to send 99/21199/2
authorFlorin Coras <[email protected]>
Thu, 8 Aug 2019 02:12:38 +0000 (19:12 -0700)
committerJohn Lo <[email protected]>
Fri, 9 Aug 2019 16:25:14 +0000 (16:25 +0000)
commitec25b91ad3d4aad0f3791f57eb8c24c487f675ca
tree0c689aceddac6ac195d8c028dc9123d33171e8ce
parent1403fe604729078fb8a5e1f73cac1ae7ca4b8a8d
session: allow closed transports to send

Type:fix

Transports like tcp may notify session layer of a close but they may
defer the connection's deletion (e.g., tcp time-wait). During that time,
transports may still want to send packets. So, unless the session has no
transport (transport-deleted state), allow the transport to send.

Change-Id: I3ae335c7b951ff64be8529a5e3f3ad790feddc84
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit a678974cc52ac61dd6094c3f6649f9e3202be1cb)
src/vnet/session/session_node.c