Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dccf76ca authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

net-tcp: fix panic in tcp_fastopen_cache_set()



We had some reports of crashes using TCP fastopen, and Dave Jones
gave a nice stack trace pointing to the error.

Issue is that tcp_get_metrics() should not be called with a NULL dst

Fixes: 1fe4c481 ("net-tcp: Fast Open client - cookie cache")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Reported-by: default avatarDave Jones <davej@redhat.com>
Cc: Yuchung Cheng <ycheng@google.com>
Acked-by: default avatarYuchung Cheng <ycheng@google.com>
Tested-by: default avatarDave Jones <davej@fedoraproject.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b869ccfa
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