Re: Sender-side SWS avoidance in tcp_sendmsg()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 3 Jul 2004 03:09:23 +0100 (BST)
Nagendra Tomar <tomer_iisc@yahoo.com> wrote:

> IOW we don't have tp->write_seq-tp->pushed_seq worth
> of data to send, but,
> tp->write_seq-tp->pushed_seq+skb->len, where skb is
> the last skb for which we called tcp_mark_push.
> 
> Have I misunderstood something ?

In the previous run of the loop, skb->len was accounted for
(this is when we filled it up) by the line:

	tp->write_seq += copy;

Therefore the tcp_mark_push() invocation you mention sets
tp->pushed_seq to the sequence space at the end of that skb.

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux