From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Subject: Re: [PATCH] for some issues in tcp window tracking patch Date: Fri, 21 May 2004 12:14:17 +0200 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <40ADD679.7030906@eurodev.net> References: <40AD3CB7.1070107@eurodev.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: To: Pablo Neira , Jozsef Kadlecsik , Netfilter Development Mailinglist In-Reply-To: <40AD3CB7.1070107@eurodev.net> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org Pablo Neira wrote: > d) We could move up WRITE_UNLOCK(&tcp_lock) just before timeout is > updated. oh, I think this comment is not so clear, I meant: timeout = conntrack->proto.tcp.retrans >= ip_ct_tcp_max_retrans && *tcp_timeouts[new_state] > ip_ct_tcp_timeout_max_retrans ? ip_ct_tcp_timeout_max_retrans : *tcp_timeouts[new_state] + WRITE_UNLOCK(&tcp_lock); regards, Pablo