summaryrefslogtreecommitdiffstats
path: root/crypto/sha512_generic.c
diff options
context:
space:
mode:
authorJulian Anastasov <ja@ssi.bg>2012-07-23 10:46:38 +0300
committerDavid S. Miller <davem@davemloft.net>2012-07-23 00:57:12 -0700
commit9a0a9502cbf19d31f7387e3066f3d1a491bef616 (patch)
treede744eaedb4c0942fab7d0c6af583460b2803fa0 /crypto/sha512_generic.c
parent9b70749e64132e17ab02239b82fcb4a2c55554d1 (diff)
downloadop-kernel-dev-9a0a9502cbf19d31f7387e3066f3d1a491bef616.zip
op-kernel-dev-9a0a9502cbf19d31f7387e3066f3d1a491bef616.tar.gz
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>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud