[TCP]: Do not call tcp_tso_acked() if no work to do.

In tcp_clean_rtx_queue(), if the TSO packet is not even partially
acked, do not waste time calling tcp_tso_acked().

Signed-off-by: David S. Miller <davem@davemloft.net>

+2 -1
+2 -1
net/ipv4/tcp_input.c
··· 2038 2038 * the other end. 2039 2039 */ 2040 2040 if (after(scb->end_seq, tp->snd_una)) { 2041 - if (tcp_skb_pcount(skb) > 1) 2041 + if (tcp_skb_pcount(skb) > 1 && 2042 + after(tp->snd_una, scb->seq)) 2042 2043 acked |= tcp_tso_acked(sk, skb, 2043 2044 now, &seq_rtt); 2044 2045 break;