Skip to content
Commit 15913114 authored by Lachlan Andrew's avatar Lachlan Andrew Committed by David S. Miller
Browse files

tcp: Overflow bug in Vegas



From: Lachlan Andrew <lachlan.andrew@gmail.com>

There is an overflow bug in net/ipv4/tcp_vegas.c for large BDPs
(e.g. 400Mbit/s, 400ms).  The multiplication (old_wnd *
vegas->baseRTT) << V_PARAM_SHIFT overflows a u32.

[ Fix tcp_veno.c too, it has similar calculations. -DaveM ]

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be9164e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment