* [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function
@ 2004-10-28 23:02 Adrian Bunk
2004-10-29 0:21 ` Adrian Bunk
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-28 23:02 UTC (permalink / raw)
To: coreteam, Marc Boucher; +Cc: netfilter-devel, davem, netdev, linux-kernel
-----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 <bunk@stusta.de>
- --- 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-----
^ permalink raw reply [flat|nested] 3+ messages in thread* [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function
2004-10-28 23:02 [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function Adrian Bunk
@ 2004-10-29 0:21 ` Adrian Bunk
2004-11-02 0:31 ` David S. Miller
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Bunk @ 2004-10-29 0:21 UTC (permalink / raw)
To: coreteam, Marc Boucher; +Cc: netfilter-devel, davem, netdev, linux-kernel
[ this time without the problems due to a digital signature... ]
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 <bunk@stusta.de>
--- 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,
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function
2004-10-29 0:21 ` Adrian Bunk
@ 2004-11-02 0:31 ` David S. Miller
0 siblings, 0 replies; 3+ messages in thread
From: David S. Miller @ 2004-11-02 0:31 UTC (permalink / raw)
To: Adrian Bunk; +Cc: netdev, coreteam, netfilter-devel, linux-kernel, marc
On Fri, 29 Oct 2004 02:21:13 +0200
Adrian Bunk <bunk@stusta.de> wrote:
> The patch below removes an unused function from
> net/ipv4/netfilter/ipt_tcpmss.c
Applied, thanks Adrian. This one is probably due to cut&paste
from ipt_TCPMSS.c where this inline is also implemented and also
actually used :-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-11-02 0:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 23:02 [2.6 patch] netfilter/ipt_tcpmss.c: remove an unused function Adrian Bunk
2004-10-29 0:21 ` Adrian Bunk
2004-11-02 0:31 ` David S. Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).