udp: fix rx event generation 02/21202/2
authorFlorin Coras <[email protected]>
Wed, 7 Aug 2019 01:28:49 +0000 (18:28 -0700)
committerJohn Lo <[email protected]>
Fri, 9 Aug 2019 16:58:17 +0000 (16:58 +0000)
commita932a34a22991277123163c819cada87553dc478
tree81eddb144204f106d20017c4e1860d4b96a39fcc
parentec25b91ad3d4aad0f3791f57eb8c24c487f675ca
udp: fix rx event generation

When session is owned by another thread, avoid postponing the generation
of the rx event.

Type:fix

Change-Id: Ie6afc8116ce40e83d8aae0432b48e19b31287d8b
Signed-off-by: Florin Coras <[email protected]>
(cherry picked from commit 9cbf6818b37275199b6c0ebef0ef3d8ecaac0a3b)
src/vnet/udp/udp_input.c