summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c b/kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c
index 0bb5a74..c710b4e 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebt_mark_m.c
@@ -23,17 +23,13 @@ static int ebt_filter_mark(const struct sk_buff *skb,
return !(((skb->nfmark & info->mask) == info->mark) ^ info->invert);
}
-static struct ebt_match filter_mark;
static int ebt_mark_check(const char *tablename, unsigned int hookmask,
- const struct ebt_entry *e, void *data, unsigned int datalen,
- unsigned int version)
+ const struct ebt_entry *e, void *data, unsigned int datalen)
{
struct ebt_mark_m_info *info = (struct ebt_mark_m_info *) data;
if (datalen != sizeof(struct ebt_mark_m_info))
return -EINVAL;
- if (ebt_check_version(version, filter_mark.version, filter_mark.name))
- return -EINVAL;
if (info->bitmask & ~EBT_MARK_MASK)
return -EINVAL;
if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND))
@@ -49,7 +45,6 @@ static struct ebt_match filter_mark =
.match = ebt_filter_mark,
.check = ebt_mark_check,
.me = THIS_MODULE,
- .version = VERSIONIZE(1,0),
};
static int __init init(void)