From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by passt.top (Postfix, from userid 1000) id 584E85A027B; Sat, 23 Sep 2023 00:06:37 +0200 (CEST) From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH] tcp: Always send an ACK segment once the handshake is completed Date: Sat, 23 Sep 2023 00:06:37 +0200 Message-Id: <20230922220637.59045-1-sbrivio@redhat.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Message-ID-Hash: A3SNOJDM7RL6AMAWEIMNKFL3XPUTRRDU X-Message-ID-Hash: A3SNOJDM7RL6AMAWEIMNKFL3XPUTRRDU X-MailFrom: sbrivio@passt.top X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: VGhlIHJlcG9ydGVyIGlzIHJ1bm5pbmcgYSBTTVRQIHNlcnZlciBiZWhpbmQgcGFzdGEsIGFuZCB0 aGUgY2xpZW50DQp3YWl0cyBmb3IgdGhlIHNlcnZlcidzIGJhbm5lciBiZWZvcmUgc2VuZGluZyBh bnkgZGF0YS4gSW4gdHVybiwgdGhlDQpzZXJ2ZXIgd2FpdHMgZm9yIG91ciBBQ0sgYWZ0ZXIgc2Vu ZGluZyBTWU4sQUNLLCB3aGljaCBuZXZlciBjb21lcy4NCg0KSWYgd2UgdXNlIHRoZSBBQ0tfSUZf TkVFREVEIGluZGljYXRpb24gdG8gdGNwX3NlbmRfZmxhZygpLCBnaXZlbiB0aGF0DQp0aGVyZSdz IG5vIHBlbmRpbmcgZGF0YSwgd2UgZGVsYXkgc2VuZGluZyB0aGUgQUNLIHNlZ21lbnQgYXQgdGhl IGVuZA0Kb2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