修正数据处理流程在tfe发送流结束日志后的数据包没有转发给tfe的问题

* 原实现中,当kni收到tfe发送的流结束日志后,不再将后续数据包转发给tfe,导致tfe的下游连接无法正常完成四次挥手。
* 现修正,当收到tfe发送的流结束日志后,继续将后续数据包转发给tfe.
This commit is contained in:
root
2019-07-31 15:00:48 +00:00
parent e75e09709a
commit ca976fea48

View File

@@ -880,7 +880,9 @@ static char data_opstate(const struct streaminfo *stream, struct pme_info *pmein
pmeinfo->server_pkts=stream->ptcpdetail->serverpktnum;
pmeinfo->client_pkts=stream->ptcpdetail->clientpktnum;
pmeinfo->dir=stream->dir;
#if 0
return APP_STATE_DROPPKT | APP_STATE_DROPME;
#endif
}
void *logger = g_kni_handle->local_logger;
struct iphdr *ipv4_hdr = NULL;