diff options
| author | Eric Dumazet <[email protected]> | 2017-12-10 17:55:03 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-12-12 10:53:04 -0500 |
| commit | 607065bad9931e72207b0cac365d7d4abc06bd99 (patch) | |
| tree | d18808d1c3bf46dd8a899c3877257ea8c4961b61 /tools/perf/scripts/python/stat-cpi.py | |
| parent | 02db55718d53f9d426cee504c27fb768e9ed4ffe (diff) | |
tcp: avoid integer overflows in tcp_rcv_space_adjust()
When using large tcp_rmem[2] values (I did tests with 500 MB),
I noticed overflows while computing rcvwin.
Lets fix this before the following patch.
Signed-off-by: Eric Dumazet <[email protected]>
Acked-by: Soheil Hassas Yeganeh <[email protected]>
Acked-by: Wei Wang <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions