session: allow closed transports to send 29/21129/9
authorFlorin Coras <fcoras@cisco.com>
Thu, 8 Aug 2019 02:12:38 +0000 (19:12 -0700)
committerDave Barach <openvpp@barachs.net>
Fri, 9 Aug 2019 11:50:04 +0000 (11:50 +0000)
commita678974cc52ac61dd6094c3f6649f9e3202be1cb
tree71d83607448a2668c9fb4fa6b7d624b717ff85f3
parentd09236d17d86a5d50166b2017f8f30a560c6e1b8
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 <fcoras@cisco.com>
src/vnet/session/session_node.c