From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH] netfilter: xt_time: never matches a correct monthday in a leap year after 28th 2 Date: Tue, 09 Sep 2008 09:24:54 +0200 Message-ID: <48C624C6.6000703@trash.net> References: <48C62496.6070706@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: netfilter-devel@vger.kernel.org To: luo kaih Return-path: Received: from stinky.trash.net ([213.144.137.162]:64418 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753455AbYIIHY4 (ORCPT ); Tue, 9 Sep 2008 03:24:56 -0400 In-Reply-To: <48C62496.6070706@trash.net> Sender: netfilter-devel-owner@vger.kernel.org List-ID: Patrick McHardy wrote: > luo kaih wrote: >> the function localtime_3 in xt_time.c gives a wrong monthday in a >> leap year after 28th 2 . calculating monthday should use the array >> days_since_leapyear[] not days_since_year[] in a leap year . > > Your mailer corrupted whitespace in this patch. Please resend as > attachment. Thanks. Sorry, please ignore. I thought you sent two different patches, but its the same one I just queued up.