|
@@ -804,7 +804,7 @@ cleanup_entry(struct ipt_entry *e, struct net *net)
|
|
newinfo) */
|
|
newinfo) */
|
|
static int
|
|
static int
|
|
translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0,
|
|
translate_table(struct net *net, struct xt_table_info *newinfo, void *entry0,
|
|
- const struct ipt_replace *repl)
|
|
|
|
|
|
+ const struct ipt_replace *repl)
|
|
{
|
|
{
|
|
struct ipt_entry *iter;
|
|
struct ipt_entry *iter;
|
|
unsigned int i;
|
|
unsigned int i;
|
|
@@ -1078,7 +1078,7 @@ static int compat_table_info(const struct xt_table_info *info,
|
|
#endif
|
|
#endif
|
|
|
|
|
|
static int get_info(struct net *net, void __user *user,
|
|
static int get_info(struct net *net, void __user *user,
|
|
- const int *len, int compat)
|
|
|
|
|
|
+ const int *len, int compat)
|
|
{
|
|
{
|
|
char name[XT_TABLE_MAXNAMELEN];
|
|
char name[XT_TABLE_MAXNAMELEN];
|
|
struct xt_table *t;
|
|
struct xt_table *t;
|
|
@@ -1304,7 +1304,7 @@ do_replace(struct net *net, const void __user *user, unsigned int len)
|
|
|
|
|
|
static int
|
|
static int
|
|
do_add_counters(struct net *net, const void __user *user,
|
|
do_add_counters(struct net *net, const void __user *user,
|
|
- unsigned int len, int compat)
|
|
|
|
|
|
+ unsigned int len, int compat)
|
|
{
|
|
{
|
|
unsigned int i;
|
|
unsigned int i;
|
|
struct xt_counters_info tmp;
|
|
struct xt_counters_info tmp;
|