summaryrefslogtreecommitdiffstats
path: root/scripts/analyze_suspend.py
diff options
context:
space:
mode:
authorEric Dumazet2014-09-22 22:19:44 +0200
committerDavid S. Miller2014-09-22 22:27:10 +0200
commitfcdd1cf4dd63aecf86c987d7f4ec7187be5c2fbc (patch)
tree9f74f24f8fe931ffac65805a30bf7e53de7e89b1 /scripts/analyze_suspend.py
parentipv6: mld: answer mldv2 queries with mldv1 reports in mldv1 fallback (diff)
downloadkernel-qcow2-linux-fcdd1cf4dd63aecf86c987d7f4ec7187be5c2fbc.tar.gz
kernel-qcow2-linux-fcdd1cf4dd63aecf86c987d7f4ec7187be5c2fbc.tar.xz
kernel-qcow2-linux-fcdd1cf4dd63aecf86c987d7f4ec7187be5c2fbc.zip
tcp: avoid possible arithmetic overflows
icsk_rto is a 32bit field, and icsk_backoff can reach 15 by default, or more if some sysctl (eg tcp_retries2) are changed. Better use 64bit to perform icsk_rto << icsk_backoff operations As Joe Perches suggested, add a helper for this. Yuchung spotted the tcp_v4_err() case. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/analyze_suspend.py')
0 files changed, 0 insertions, 0 deletions