diff options
author | liuyacan <liuyacan@corp.netease.com> | 2021-04-23 09:38:38 +0800 |
---|---|---|
committer | liuyacan <liuyacan@corp.netease.com> | 2021-04-23 16:23:37 +0800 |
commit | 5724aecd20e8f5e50aba418d2a021ef02275d589 (patch) | |
tree | 39be42608d189fd8653e2e1d44b95dbe53199967 /src/vnet/pg/output.c | |
parent | 2ba0177f38a2dcf15ee29c0af219f07606552356 (diff) |
session: set fifo's session index before vcl attach
Current implementation may have timing issue:
1. The TCP 3-way-handshake is completed but the app is busy and
does not process the CONNECTED event.
2. VPP receive some data from peer and try to send a RX event to
VCL, but the fifo's client session index is not initialized yet.
So this event will be sent to incorrect session 0.
Type: fix
Change-Id: I54f222232968bfaea5f4745284a1cfacc89482a9
Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Diffstat (limited to 'src/vnet/pg/output.c')
0 files changed, 0 insertions, 0 deletions