aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/sysctl_net_core.c4
-rw-r--r--net/socket.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/net/core/sysctl_net_core.c b/net/core/sysctl_net_core.c
index 78c746e016ae..62702c2053de 100644
--- a/net/core/sysctl_net_core.c
+++ b/net/core/sysctl_net_core.c
@@ -302,9 +302,9 @@ static struct ctl_table net_core_table[] = {
302 { 302 {
303 .procname = "low_latency_poll", 303 .procname = "low_latency_poll",
304 .data = &sysctl_net_ll_poll, 304 .data = &sysctl_net_ll_poll,
305 .maxlen = sizeof(unsigned long), 305 .maxlen = sizeof(unsigned int),
306 .mode = 0644, 306 .mode = 0644,
307 .proc_handler = proc_doulongvec_minmax 307 .proc_handler = proc_dointvec
308 }, 308 },
309#endif 309#endif
310#endif /* CONFIG_NET */ 310#endif /* CONFIG_NET */
diff --git a/net/socket.c b/net/socket.c
index 21fd29f63ed2..caaffa14e87e 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -107,7 +107,7 @@
107#include <net/ll_poll.h> 107#include <net/ll_poll.h>
108 108
109#ifdef CONFIG_NET_LL_RX_POLL 109#ifdef CONFIG_NET_LL_RX_POLL
110unsigned long sysctl_net_ll_poll __read_mostly; 110unsigned int sysctl_net_ll_poll __read_mostly;
111EXPORT_SYMBOL_GPL(sysctl_net_ll_poll); 111EXPORT_SYMBOL_GPL(sysctl_net_ll_poll);
112#endif 112#endif
113 113