@@ -63,11 +63,11 @@
* for compatibility with early adopters.
*/
static unsigned short vxlan_port __read_mostly = 8472;
-module_param_named(udp_port, vxlan_port, ushort, 0444);
+module_param_named(udp_port, vxlan_port, ushort, S_IRUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(udp_port, "Destination UDP port");
static bool log_ecn_error = true;
-module_param(log_ecn_error, bool, 0644);
+module_param(log_ecn_error, bool, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
MODULE_PARM_DESC(log_ecn_error, "Log packets received with corrupted ECN");
static int vxlan_net_id;