Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211521
b: refs/heads/master
c: a9febbb
h: refs/heads/master
i:
  211519: 506ebcd
v: v3
  • Loading branch information
Eric Dumazet authored and Linus Torvalds committed Oct 15, 2010
1 parent 60c37cb commit 62612da
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 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: 5a2b3ef4559f3d0ef58cbfb723f528f1c6b2e601
refs/heads/master: a9febbb4bd1302b6f01aa1203b0a804e4e5c9e25
9 changes: 0 additions & 9 deletions trunk/kernel/sysctl_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,6 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
if (!table->maxlen)
set_fail(&fail, table, "No maxlen");
}
if ((table->proc_handler == proc_doulongvec_minmax) ||
(table->proc_handler == proc_doulongvec_ms_jiffies_minmax)) {
if (table->maxlen > sizeof (unsigned long)) {
if (!table->extra1)
set_fail(&fail, table, "No min");
if (!table->extra2)
set_fail(&fail, table, "No max");
}
}
#ifdef CONFIG_PROC_SYSCTL
if (table->procname && !table->proc_handler)
set_fail(&fail, table, "No proc_handler");
Expand Down

0 comments on commit 62612da

Please sign in to comment.