diff options
Diffstat (limited to 'net/netfilter')
| -rw-r--r-- | net/netfilter/nf_log.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/netfilter/nf_log.c b/net/netfilter/nf_log.c index 43c926cae9c0..0d8448f19dfe 100644 --- a/net/netfilter/nf_log.c +++ b/net/netfilter/nf_log.c | |||
| @@ -425,8 +425,7 @@ static int netfilter_log_sysctl_init(struct net *net) | |||
| 425 | nf_log_sysctl_table[i].procname = | 425 | nf_log_sysctl_table[i].procname = |
| 426 | nf_log_sysctl_fnames[i]; | 426 | nf_log_sysctl_fnames[i]; |
| 427 | nf_log_sysctl_table[i].data = NULL; | 427 | nf_log_sysctl_table[i].data = NULL; |
| 428 | nf_log_sysctl_table[i].maxlen = | 428 | nf_log_sysctl_table[i].maxlen = NFLOGGER_NAME_LEN; |
| 429 | NFLOGGER_NAME_LEN * sizeof(char); | ||
| 430 | nf_log_sysctl_table[i].mode = 0644; | 429 | nf_log_sysctl_table[i].mode = 0644; |
| 431 | nf_log_sysctl_table[i].proc_handler = | 430 | nf_log_sysctl_table[i].proc_handler = |
| 432 | nf_log_proc_dostring; | 431 | nf_log_proc_dostring; |
