From: Julian Anastasov Date: Mon, 23 Jul 2012 07:46:38 +0000 (+0300) Subject: tcp: avoid oops in tcp_metrics and reset tcpm_stamp X-Git-Tag: v3.6-rc1~125^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a0a9502cbf19d31f7387e3066f3d1a491bef616;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed