summaryrefslogtreecommitdiffstats
path: root/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c
diff options
context:
space:
mode:
authorBart De Schuymer <bdschuym@pandora.be>2003-06-04 06:25:32 +0000
committerBart De Schuymer <bdschuym@pandora.be>2003-06-04 06:25:32 +0000
commitb2d2ce07b7356b8597991986fe80fdf6bb465309 (patch)
tree129b17db38348c828d84e2c0aeb3fdafeb794ce4 /kernel/linux2.5/net/bridge/netfilter/ebt_mark.c
parent1e0cbd87722f91b0a56f01f212f919d4f4a3a21a (diff)
revert back to 2.5.70
Diffstat (limited to 'kernel/linux2.5/net/bridge/netfilter/ebt_mark.c')
-rw-r--r--kernel/linux2.5/net/bridge/netfilter/ebt_mark.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c b/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c
index 3a60cea..b7a87f6 100644
--- a/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c
+++ b/kernel/linux2.5/net/bridge/netfilter/ebt_mark.c
@@ -30,17 +30,13 @@ static int ebt_target_mark(struct sk_buff **pskb, unsigned int hooknr,
return info->target;
}
-static struct ebt_target mark_target;
static int ebt_target_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_t_info *info = (struct ebt_mark_t_info *)data;
if (datalen != sizeof(struct ebt_mark_t_info))
return -EINVAL;
- if (ebt_check_version(version, mark_target.version, mark_target.name))
- return -EINVAL;
if (BASE_CHAIN && info->target == EBT_RETURN)
return -EINVAL;
CLEAR_BASE_CHAIN_BIT;
@@ -55,7 +51,6 @@ static struct ebt_target mark_target =
.target = ebt_target_mark,
.check = ebt_target_mark_check,
.me = THIS_MODULE,
- .version = VERSIONIZE(1,0),
};
static int __init init(void)