[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120723.005809.730802545667962757.davem@davemloft.net>
Date: Mon, 23 Jul 2012 00:58:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ja@....bg
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] tcp: avoid oops in tcp_metrics and reset tcpm_stamp
From: Julian Anastasov <ja@....bg>
Date: Mon, 23 Jul 2012 10:46:38 +0300
> 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@....bg>
Applied, thanks Julian.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists