Eric Dumazet dccf76ca6b 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 <edumazet@google.com>
Reported-by: Dave Jones <davej@redhat.com>
Cc: Yuchung Cheng <ycheng@google.com>
Acked-by: Yuchung Cheng <ycheng@google.com>
Tested-by: Dave Jones <davej@fedoraproject.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-14 16:33:18 -05:00
..
2013-11-08 02:07:59 -05:00
2013-09-03 21:41:43 -04:00
2013-10-19 19:36:19 -04:00
2013-10-17 15:02:02 -04:00
2013-10-08 23:19:24 -04:00
2012-10-08 17:42:36 -04:00
2013-10-19 19:36:19 -04:00
2013-09-03 21:41:43 -04:00
2013-03-21 11:47:50 -04:00
2012-03-11 23:42:51 -07:00
2013-10-19 19:36:19 -04:00
2013-05-31 17:19:05 -07:00