Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45216
b: refs/heads/master
c: e5b5ef7
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Mishin authored and David S. Miller committed Jan 4, 2007
1 parent 446ad21 commit 6c251b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: 63ea998a26d4e03d390fbe31818cc552994d16fd
refs/heads/master: e5b5ef7d2b3fa364cb03407c432ae9979657aa6c
10 changes: 5 additions & 5 deletions trunk/net/ipv4/netfilter/ip_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,13 +919,13 @@ copy_entries_to_user(unsigned int total_size,
#ifdef CONFIG_COMPAT
struct compat_delta {
struct compat_delta *next;
u_int16_t offset;
unsigned int offset;
short delta;
};

static struct compat_delta *compat_offsets = NULL;

static int compat_add_offset(u_int16_t offset, short delta)
static int compat_add_offset(unsigned int offset, short delta)
{
struct compat_delta *tmp;

Expand Down Expand Up @@ -957,7 +957,7 @@ static void compat_flush_offsets(void)
}
}

static short compat_calc_jump(u_int16_t offset)
static short compat_calc_jump(unsigned int offset)
{
struct compat_delta *tmp;
short delta;
Expand Down Expand Up @@ -997,7 +997,7 @@ static int compat_calc_entry(struct ipt_entry *e, struct xt_table_info *info,
void *base, struct xt_table_info *newinfo)
{
struct ipt_entry_target *t;
u_int16_t entry_offset;
unsigned int entry_offset;
int off, i, ret;

off = 0;
Expand Down Expand Up @@ -1467,7 +1467,7 @@ check_compat_entry_size_and_hooks(struct ipt_entry *e,
{
struct ipt_entry_target *t;
struct ipt_target *target;
u_int16_t entry_offset;
unsigned int entry_offset;
int ret, off, h, j;

duprintf("check_compat_entry_size_and_hooks %p\n", e);
Expand Down

0 comments on commit 6c251b3

Please sign in to comment.