]> Git Repo - linux.git/commit
tcp: fix wraparound issue in tcp_lp
authorEric Dumazet <[email protected]>
Mon, 1 May 2017 22:29:48 +0000 (15:29 -0700)
committerDavid S. Miller <[email protected]>
Tue, 2 May 2017 19:07:02 +0000 (15:07 -0400)
commita9f11f963a546fea9144f6a6d1a307e814a387e7
treef0b2d91346ba97af27e4b5ba3cdaf8f4127d02f7
parentddc665a4bb4b728b4e6ecec8db1b64efa9184b9c
tcp: fix wraparound issue in tcp_lp

Be careful when comparing tcp_time_stamp to some u32 quantity,
otherwise result can be surprising.

Fixes: 7c106d7e782b ("[TCP]: TCP Low Priority congestion control")
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/ipv4/tcp_lp.c
This page took 0.055583 seconds and 4 git commands to generate.