Message ID | 20160802121546.22862-1-baolex.ni@intel.com |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 94acfc8..fac805d 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -60,7 +60,7 @@ static void zap_completion_queue(void); static void netpoll_async_cleanup(struct work_struct *work); static unsigned int carrier_timeout = 4; -module_param(carrier_timeout, uint, 0644); +module_param(carrier_timeout, uint, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); #define np_info(np, fmt, ...) \ pr_info("%s: " fmt, np->name, ##__VA_ARGS__)