Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18749
b: refs/heads/master
c: ccc9132
h: refs/heads/master
i:
  18747: 8d1c276
v: v3
  • Loading branch information
Benoit Boissinot authored and David S. Miller committed Jan 17, 2006
1 parent 31f0df1 commit 01ae6f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 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: e35bedf369b17120dbd7d554bee45407a3825267
refs/heads/master: ccc91324a1b44d345ab4f814eb2ff453c7e98f9e
7 changes: 5 additions & 2 deletions trunk/net/ipv4/netfilter/ipt_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ match_policy_out(const struct sk_buff *skb, const struct ipt_policy_info *info)
static int match(const struct sk_buff *skb,
const struct net_device *in,
const struct net_device *out,
const void *matchinfo, int offset, int *hotdrop)
const void *matchinfo,
int offset,
unsigned int protoff,
int *hotdrop)
{
const struct ipt_policy_info *info = matchinfo;
int ret;
Expand All @@ -113,7 +116,7 @@ static int match(const struct sk_buff *skb,
return ret;
}

static int checkentry(const char *tablename, const struct ipt_ip *ip,
static int checkentry(const char *tablename, const void *ip_void,
void *matchinfo, unsigned int matchsize,
unsigned int hook_mask)
{
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ipv6/netfilter/ip6t_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static int match(const struct sk_buff *skb,
return ret;
}

static int checkentry(const char *tablename, const struct ip6t_ip6 *ip,
static int checkentry(const char *tablename, const void *ip_void,
void *matchinfo, unsigned int matchsize,
unsigned int hook_mask)
{
Expand Down

0 comments on commit 01ae6f6

Please sign in to comment.