[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190621.210013.2186064936627293600.davem@davemloft.net>
Date: Fri, 21 Jun 2019 21:00:13 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: edumazet@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com, cpaasch@...le.com
Subject: Re: [PATCH net] tcp: refine memory limit test in tcp_fragment()
From: Eric Dumazet <edumazet@...gle.com>
Date: Fri, 21 Jun 2019 06:09:55 -0700
> tcp_fragment() might be called for skbs in the write queue.
>
> Memory limits might have been exceeded because tcp_sendmsg() only
> checks limits at full skb (64KB) boundaries.
>
> Therefore, we need to make sure tcp_fragment() wont punish applications
> that might have setup very low SO_SNDBUF values.
>
> Fixes: f070ef2ac667 ("tcp: tcp_fragment() should apply sane memory limits")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: Christoph Paasch <cpaasch@...le.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists