tcp: add ACK flag to RST packet 45/32945/2
authorliuyacan <liuyacan@corp.netease.com>
Tue, 29 Jun 2021 08:45:11 +0000 (16:45 +0800)
committerFlorin Coras <florin.coras@gmail.com>
Tue, 29 Jun 2021 15:32:49 +0000 (15:32 +0000)
commit3871bd3a07dfc775c29ea333d10c05ced2fea80e
tree4b48cc0eff3cc042dbed6b37f09e1a9a2111238e
parentfa3884f8a1cf5493dd7733404811b63ee9c1e4d9
tcp: add ACK flag to RST packet

According to RFC 793, the ACK control bit is always sent once
the connection is established.

Type: fix

Signed-off-by: liuyacan <liuyacan@corp.netease.com>
Change-Id: Id0fe19114a0cc468dbce4c0938b345c2ac339e73
src/vnet/tcp/tcp_output.c