From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [PATCH 06/10] [NETFILTER]: constify and annotate nf_{conntrack,nat}_proto_tcp Date: Wed, 30 Jan 2008 16:40:12 +0100 Message-ID: <47A09A5C.4000707@trash.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Netfilter Developer Mailing List To: Jan Engelhardt Return-path: Received: from stinky.trash.net ([213.144.137.162]:54287 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754738AbYA3Pk3 (ORCPT ); Wed, 30 Jan 2008 10:40:29 -0500 In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: Jan Engelhardt wrote: > Constify a few data tables use const qualifiers on variables where > possible in the nf_*_proto_tcp sources. > > Signed-off-by: Jan Engelhardt > --- > include/net/netfilter/nf_conntrack.h | 2 +- > net/ipv4/netfilter/nf_nat_proto_tcp.c | 2 +- > net/netfilter/nf_conntrack_proto_tcp.c | 44 +++++++++++++----------- > 3 files changed, 26 insertions(+), 22 deletions(-) Applied with some minor editing to remove conflicts with my naming unification patch.