Skip to content
Commit 303a0af6 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Carles Cufí
Browse files

net: tcp: Make sure we shift by less then bit width



Shifting "timeout <<= conn->zwp_retries" by more then 63 bits results in
undefined behaviour.

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent 42b121ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment