Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35513
b: refs/heads/master
c: 3e597c6
h: refs/heads/master
i:
  35511: 8718c0d
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Sep 24, 2006
1 parent 9eb4e06 commit 1a0ac7d
Show file tree
Hide file tree
Showing 3 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: 1db2ea398ffbfd9ea46d509ff0e4a85bb4b8c0ea
refs/heads/master: 3e597c6045502dd0fa98a61aa95ba178f8a2cc03
4 changes: 2 additions & 2 deletions trunk/include/linux/netfilter/x_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,13 @@ extern int xt_compat_match_offset(struct xt_match *match);
extern void xt_compat_match_from_user(struct xt_entry_match *m,
void **dstptr, int *size);
extern int xt_compat_match_to_user(struct xt_entry_match *m,
void * __user *dstptr, int *size);
void __user **dstptr, int *size);

extern int xt_compat_target_offset(struct xt_target *target);
extern void xt_compat_target_from_user(struct xt_entry_target *t,
void **dstptr, int *size);
extern int xt_compat_target_to_user(struct xt_entry_target *t,
void * __user *dstptr, int *size);
void __user **dstptr, int *size);

#endif /* CONFIG_COMPAT */
#endif /* __KERNEL__ */
Expand Down
6 changes: 3 additions & 3 deletions trunk/net/ipv4/netfilter/ip_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -1364,15 +1364,15 @@ struct compat_ipt_replace {
};

static inline int compat_copy_match_to_user(struct ipt_entry_match *m,
void * __user *dstptr, compat_uint_t *size)
void __user **dstptr, compat_uint_t *size)
{
return xt_compat_match_to_user(m, dstptr, size);
}

static int compat_copy_entry_to_user(struct ipt_entry *e,
void * __user *dstptr, compat_uint_t *size)
void __user **dstptr, compat_uint_t *size)
{
struct ipt_entry_target __user *t;
struct ipt_entry_target *t;
struct compat_ipt_entry __user *ce;
u_int16_t target_offset, next_offset;
compat_uint_t origsize;
Expand Down

0 comments on commit 1a0ac7d

Please sign in to comment.