Skip to content
Commit 0ae5b43d authored by Yuchung Cheng's avatar Yuchung Cheng Committed by Jakub Kicinski
Browse files

tcp: assign skb hash after tcp_event_data_sent



Move skb_set_hash_from_sk s.t. it's called after instead of before
tcp_event_data_sent is called. This enables congestion control
modules to change the socket hash right before restarting from
idle (via the TX_START congestion event).

Signed-off-by: default avatarYuchung Cheng <ycheng@google.com>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarNeal Cardwell <ncardwell@google.com>
Link: https://lore.kernel.org/r/20210111230552.2704579-1-ycheng@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 848c1903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment