Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26173
b: refs/heads/master
c: 18118cd
h: refs/heads/master
i:
  26171: 2619aa4
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Apr 25, 2006
1 parent 24cf3e3 commit 53dfe98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 91536b7ae67710ca888e03ea82c60f0ac073a015
refs/heads/master: 18118cdbfd1f855e09ee511d764d6c9df3d4f952
5 changes: 5 additions & 0 deletions trunk/net/sched/act_ipt.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ ipt_init_target(struct ipt_entry_target *t, char *table, unsigned int hook)
DPRINTK("ipt_init_target: found %s\n", target->name);
t->u.kernel.target = target;

ret = xt_check_target(target, AF_INET, t->u.target_size - sizeof(*t),
table, hook, 0, 0);
if (ret)
return ret;

if (t->u.kernel.target->checkentry
&& !t->u.kernel.target->checkentry(table, NULL,
t->u.kernel.target, t->data,
Expand Down

0 comments on commit 53dfe98

Please sign in to comment.