Received: with ECARTIS (v1.0.0; list netdev); Thu, 28 Oct 2004 16:03:00 -0700 (PDT) Received: from mailout.stusta.mhn.de (emailhub.stusta.mhn.de [141.84.69.5]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id i9SN2siP028997 for ; Thu, 28 Oct 2004 16:02:54 -0700 Received: (qmail 5086 invoked from network); 28 Oct 2004 23:02:32 -0000 Received: from r063144.stusta.swh.mhn.de (10.150.63.144) by mailhub.stusta.mhn.de with SMTP; 28 Oct 2004 23:02:32 -0000 Received: by r063144.stusta.swh.mhn.de (Postfix, from userid 1000) id 1B023AF825; Fri, 29 Oct 2004 01:02:02 +0200 (CEST) Date: Fri, 29 Oct 2004 01:02:02 +0200 From: Adrian Bunk To: coreteam@netfilter.org, Marc Boucher Cc: netfilter-devel@lists.netfilter.org, davem@davemloft.net, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Subject: [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function Message-ID: <20041028230202.GV3207@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline User-Agent: Mutt/1.5.6+20040907i X-archive-position: 11027 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: bunk@stusta.de Precedence: bulk X-list: netdev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The patch below removes an unused function from net/ipv4/netfilter/ipt_tcpmss.c diffstat output: net/ipv4/netfilter/ipt_tcpmss.c | 12 ------------ 1 files changed, 12 deletions(-) Signed-off-by: Adrian Bunk - --- linux-2.6.10-rc1-mm1-full/net/ipv4/netfilter/ipt_tcpmss.c.old 2004-10-28 23:51:17.000000000 +0200 +++ linux-2.6.10-rc1-mm1-full/net/ipv4/netfilter/ipt_tcpmss.c 2004-10-28 23:51:28.000000000 +0200 @@ -87,18 +87,6 @@ info->invert, hotdrop); } - -static inline int find_syn_match(const struct ipt_entry_match *m) - -{ - - const struct ipt_tcp *tcpinfo = (const struct ipt_tcp *)m->data; - - - - if (strcmp(m->u.kernel.match->name, "tcp") == 0 - - && (tcpinfo->flg_cmp & TH_SYN) - - && !(tcpinfo->invflags & IPT_TCP_INV_FLAGS)) - - return 1; - - - - return 0; - -} - - static int checkentry(const char *tablename, const struct ipt_ip *ip, -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFBgXpqmfzqmE8StAARAlfTAJ9tZB577aVYlmz3j91H4DvBkX4KMwCglbcK xolcBq4HFXSsy8N9BZIJiW8= =pbup -----END PGP SIGNATURE-----