From: Eric Dumazet <[email protected]>
Date: Wed, 01 Feb 2017 08:33:53 -0800

> From: Eric Dumazet <[email protected]>
> 
> syszkaller fuzzer was able to trigger a divide by zero, when
> TCP window scaling is not enabled.
> 
> SO_RCVBUF can be used not only to increase sk_rcvbuf, also
> to decrease it below current receive buffers utilization.
> 
> If mss is negative or 0, just return a zero TCP window.
> 
> Signed-off-by: Eric Dumazet <[email protected]>
> Reported-by: Dmitry Vyukov  <[email protected]>
> ---
> No Fixes: tag, this is a day-0 bug.

Applied and queued up for -stable, thanks Eric.

Reply via email to