From: Eric Dumazet Date: Wed, 13 Nov 2013 23:00:46 +0000 (-0800) Subject: net-tcp: fix panic in tcp_fastopen_cache_set() X-Git-Tag: v3.13-rc1~33^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dccf76ca6b626c0c4a4e09bb221adee3270ab0ef;p=pandora-kernel.git 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: 1fe4c481ba637 ("net-tcp: Fast Open client - cookie cache") Signed-off-by: Eric Dumazet Reported-by: Dave Jones Cc: Yuchung Cheng Acked-by: Yuchung Cheng Tested-by: Dave Jones Signed-off-by: David S. Miller --- Reading git-diff-tree failed