Skip to content

Commit

Permalink
[TCP]: Kill bogus comment above tcp_tso_acked().
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
davem330 committed Jul 5, 2005
1 parent b4e26f5 commit a564769
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions net/ipv4/tcp_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a564769

Please sign in to comment.