From 712a72213fad36cc9e6ec706b5e020d7eb6e03bc Mon Sep 17 00:00:00 2001 From: Willem de Bruijn Date: Tue, 12 Aug 2014 14:53:16 -0400 Subject: [PATCH] net-timestamp: fix missing ACK timestamp ACK timestamps are generated in tcp_clean_rtx_queue. The TSO datapath can break out early, causing the timestamp code to be skipped. Move the code up before the break. Reported-by: David S. Miller Also fix a boundary condition: tp->snd_una is the next unacknowledged byte and between tests inclusive (a <= b <= c), so generate a an ACK timestamp if (prior_snd_una <= tskey <= tp->snd_una - 1). Signed-off-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-format-patch failed