From: David S. Miller Date: Tue, 5 Jul 2005 22:20:41 +0000 (-0700) Subject: [TCP]: Kill bogus comment above tcp_tso_acked(). X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a56476962e92a6c389a1a561274d4a27607b7b5f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [TCP]: Kill bogus comment above tcp_tso_acked(). Everything stated there is out of data. tcp_trim_skb() does adjust the available socket send buffer space and skb->truesize now. Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index b27be2f819ac..1dba7fd438da 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -1957,15 +1957,6 @@ static inline void tcp_ack_packets_out(struct sock *sk, struct tcp_sock *tp) } } -/* There is one downside to this scheme. Although we keep the - * ACK clock ticking, adjusting packet counters and advancing - * congestion window, we do not liberate socket send buffer - * space. - * - * Mucking with skb->truesize and sk->sk_wmem_alloc et al. - * then making a write space wakeup callback is a possible - * future enhancement. WARNING: it is not trivial to make. - */ static int tcp_tso_acked(struct sock *sk, struct sk_buff *skb, __u32 now, __s32 *seq_rtt) {