• Lachlan Andrew's avatar
    tcp: Overflow bug in Vegas · 15913114
    Lachlan Andrew authored
    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>
    15913114
tcp_vegas.c 11.7 KB