This isn't a perfect solution. More like we have patched this for the case we
are in tcp's established state. The right solution would be to accept states
based on the presence(using operator OR) of certain flags in the tcp header,
rather than list out all possible flag combinations.
StreamTcpSetEvent(p, STREAM_EST_SYNACK_RESEND);
return -1;
break;
- case TH_ACK|TH_URG:
case TH_ACK:
+ case TH_ACK|TH_URG:
case TH_ACK|TH_CWR:
case TH_ACK|TH_ECN:
case TH_ACK|TH_PUSH:
case TH_ACK|TH_PUSH|TH_ECN:
case TH_ACK|TH_PUSH|TH_ECN|TH_CWR:
case TH_ACK|TH_PUSH|TH_URG:
+ case TH_ACK|TH_PUSH|TH_CWR:
/* Urgent pointer size can be more than the payload size, as it tells
* the future coming data from the sender will be handled urgently
* until data of size equal to urgent offset has been processed