Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-10 Thread maowenan
On 2018/8/10 14:26, maowenan wrote: > > > On 2018/8/9 20:52, David Woodhouse wrote: >> On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >>> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: There are two patches in stable branch linux-4.4, but I have tested with below patch

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:52, David Woodhouse wrote: > On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >>> There are two patches in stable branch linux-4.4, but I have tested with >>> below patches, and found that the cpu usage was very high.

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:52, David Woodhouse wrote: > On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: >> On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >>> There are two patches in stable branch linux-4.4, but I have tested with >>> below patches, and found that the cpu usage was very high.

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/9 20:47, Greg KH wrote: > On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: >> >> >> On 2018/8/7 21:22, Greg KH wrote: >>> On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: From: Eric Dumazet commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstrea

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread David Woodhouse
On Thu, 2018-08-09 at 14:47 +0200, Greg KH wrote: > On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: > > There are two patches in stable branch linux-4.4, but I have tested with > > below patches, and found that the cpu usage was very high. > > dc6ae4d tcp: detect malicious patterns in tc

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread Greg KH
On Thu, Aug 09, 2018 at 08:37:13PM +0800, maowenan wrote: > > > On 2018/8/7 21:22, Greg KH wrote: > > On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: > >> From: Eric Dumazet > >> > >> commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. > >> > >> In case skb in out_or_order

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-09 Thread maowenan
On 2018/8/7 21:22, Greg KH wrote: > On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: >> From: Eric Dumazet >> >> commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. >> >> In case skb in out_or_order_queue is the result of >> multiple skbs coalescing, we would like to get a

Re: [PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-07 Thread Greg KH
On Sat, Aug 04, 2018 at 10:10:00AM +0100, David Woodhouse wrote: > From: Eric Dumazet > > commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. > > In case skb in out_or_order_queue is the result of > multiple skbs coalescing, we would like to get a proper gso_segs > counter tracking, so tha

[PATCH 4.9-stable] tcp: add tcp_ooo_try_coalesce() helper

2018-08-04 Thread David Woodhouse
From: Eric Dumazet commit 58152ecbbcc6a0ce7fddd5bf5f6ee535834ece0c upstream. In case skb in out_or_order_queue is the result of multiple skbs coalescing, we would like to get a proper gso_segs counter tracking, so that future tcp_drop() can report an accurate number. I chose to not implement th