Skip to content
Commit 6ec39dca authored by Dmitrii Golovanov's avatar Dmitrii Golovanov Committed by Carles Cufí
Browse files

net: ZWP timeout explicit type on bit shift calculation



Fix tcp_send_zwp() retransmission timeout calculation to avoid sign
extension on bit shift operation: the uint16_t value was implicitly
promoted to 32-bit signed type with sign extension to uint64_t.

Signed-off-by: default avatarDmitrii Golovanov <dmitrii.golovanov@intel.com>
parent 16880cc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment