make sure the very first fragment triggers an rx_callback 67/9767/3
authorAndreas Schultz <aschultz@warp10.net>
Fri, 8 Dec 2017 14:12:36 +0000 (15:12 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Sun, 10 Dec 2017 02:48:38 +0000 (02:48 +0000)
commitc1214bd1b619d3f566be5a1783cfe717ee608136
tree7077f7d7bfae2f3f235ab94427ed5b88776b2449
parent82d8ec2571720310f0a7c41deeba30534be28ed0
make sure the very first fragment triggers an rx_callback

On the first session server, the first payload packet gets queued
but the Rx callback will only be invoked when the second packet
is received.

By initializing enqueue_epoch in the session, we can make sure that
the RX callback will be invoked for the first packet as well.

Change-Id: I60e2cf8d4d2ca71d461ca003d459c8e6e6956a4d
Signed-off-by: Andreas Schultz <aschultz@warp10.net>
src/vnet/session/session.c