Julian Anastasov 9a0a9502cb tcp: avoid oops in tcp_metrics and reset tcpm_stamp
In tcp_tw_remember_stamp we incorrectly checked tw
instead of tm, it can lead to oops if the cached entry is
not found.

	tcpm_stamp was not updated in tcpm_check_stamp when
tcpm_suck_dst was called, move the update into tcpm_suck_dst,
so that we do not call it infinitely on every next cache hit
after TCP_METRICS_TIMEOUT.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-07-23 00:57:12 -07:00
..
2012-06-04 11:45:11 -04:00
2012-07-10 22:36:17 +02:00
2012-07-22 17:04:15 -07:00
2012-07-19 10:48:00 -07:00
2012-07-20 13:31:21 -07:00
2012-07-19 10:48:00 -07:00
2012-07-16 23:23:52 -07:00
2012-06-15 15:30:15 -07:00
2012-04-15 12:44:40 -04:00
2012-05-17 18:45:20 -04:00
2012-06-27 15:42:24 -07:00
2012-07-22 17:04:15 -07:00
2012-07-18 11:28:46 -07:00
2012-07-16 22:31:34 -07:00
2012-07-20 13:31:21 -07:00
2010-10-15 15:53:27 +02:00