Commit 9dbecf7c authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller

[NETFILTER]: Remove an unused function in ipt_tcpmss.c

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f1544c63
...@@ -87,18 +87,6 @@ match(const struct sk_buff *skb, ...@@ -87,18 +87,6 @@ match(const struct sk_buff *skb,
info->invert, hotdrop); 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 static int
checkentry(const char *tablename, checkentry(const char *tablename,
const struct ipt_ip *ip, const struct ipt_ip *ip,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment