Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59013
b: refs/heads/master
c: 5faf415
h: refs/heads/master
i:
  59011: 31e6846
v: v3
  • Loading branch information
Balazs Scheidler authored and David S. Miller committed Jul 11, 2007
1 parent 3c22fa9 commit c5fc210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 585426fdc5b4cccaacf0afc8cf821ff763750ae8
refs/heads/master: 5faf41535214b68c989a22302c8870f8758cbb8c
9 changes: 5 additions & 4 deletions trunk/net/netfilter/x_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ int xt_check_match(const struct xt_match *match, unsigned short family,
return -EINVAL;
}
if (match->hooks && (hook_mask & ~match->hooks) != 0) {
printk("%s_tables: %s match: bad hook_mask %u\n",
xt_prefix[family], match->name, hook_mask);
printk("%s_tables: %s match: bad hook_mask %u/%u\n",
xt_prefix[family], match->name, hook_mask, match->hooks);
return -EINVAL;
}
if (match->proto && (match->proto != proto || inv_proto)) {
Expand Down Expand Up @@ -410,8 +410,9 @@ int xt_check_target(const struct xt_target *target, unsigned short family,
return -EINVAL;
}
if (target->hooks && (hook_mask & ~target->hooks) != 0) {
printk("%s_tables: %s target: bad hook_mask %u\n",
xt_prefix[family], target->name, hook_mask);
printk("%s_tables: %s target: bad hook_mask %u/%u\n",
xt_prefix[family], target->name, hook_mask,
target->hooks);
return -EINVAL;
}
if (target->proto && (target->proto != proto || inv_proto)) {
Expand Down

0 comments on commit c5fc210

Please sign in to comment.