Re: [PATCH v4 net-next 1/3] tcp: Make use of MSG_EOR in tcp_sendmsg

2016-04-25 Thread Soheil Hassas Yeganeh
On Mon, Apr 25, 2016 at 5:44 PM, Martin KaFai Lau wrote: > This patch adds an eor bit to the TCP_SKB_CB. When MSG_EOR > is passed to tcp_sendmsg, the eor bit will be set at the skb > containing the last byte of the userland's msg. The eor bit > will prevent data from appending to that skb in the

Re: [PATCH v4 net-next 1/3] tcp: Make use of MSG_EOR in tcp_sendmsg

2016-04-25 Thread Eric Dumazet
On Mon, 2016-04-25 at 14:44 -0700, Martin KaFai Lau wrote: > This patch adds an eor bit to the TCP_SKB_CB. When MSG_EOR > is passed to tcp_sendmsg, the eor bit will be set at the skb > containing the last byte of the userland's msg. The eor bit > will prevent data from appending to that skb in th

[PATCH v4 net-next 1/3] tcp: Make use of MSG_EOR in tcp_sendmsg

2016-04-25 Thread Martin KaFai Lau
This patch adds an eor bit to the TCP_SKB_CB. When MSG_EOR is passed to tcp_sendmsg, the eor bit will be set at the skb containing the last byte of the userland's msg. The eor bit will prevent data from appending to that skb in the future. The change in do_tcp_sendpages is to honor the eor set d