diff options
author | Julian Anastasov | 2012-07-23 09:46:38 +0200 |
---|---|---|
committer | David S. Miller | 2012-07-23 09:57:12 +0200 |
commit | 9a0a9502cbf19d31f7387e3066f3d1a491bef616 (patch) | |
tree | de744eaedb4c0942fab7d0c6af583460b2803fa0 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c | |
parent | niu: Change niu_rbr_fill() to use unlikely() to check niu_rbr_add_page() retu... (diff) | |
download | kernel-qcow2-linux-9a0a9502cbf19d31f7387e3066f3d1a491bef616.tar.gz kernel-qcow2-linux-9a0a9502cbf19d31f7387e3066f3d1a491bef616.tar.xz kernel-qcow2-linux-9a0a9502cbf19d31f7387e3066f3d1a491bef616.zip |
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 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c')
0 files changed, 0 insertions, 0 deletions