diff options
author | Eric Dumazet <edumazet@google.com> | 2017-02-01 17:33:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-01 18:55:42 +0100 |
commit | 06425c308b92eaf60767bc71d359f4cbc7a561f8 (patch) | |
tree | a08cfa26bccb18c96d087ee257d8a99f0f804f53 /Documentation/devicetree/bindings/net/can | |
parent | ipv6: pointer math error in ip6_tnl_parse_tlv_enc_lim() (diff) | |
download | linux-06425c308b92eaf60767bc71d359f4cbc7a561f8.tar.xz linux-06425c308b92eaf60767bc71d359f4cbc7a561f8.zip |
tcp: fix 0 divide in __tcp_select_window()
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 <edumazet@google.com>
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/can')
0 files changed, 0 insertions, 0 deletions