Merge branch 'cxgb4-net'
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / sysctl_net_ipv6.c
index 0c56c93619e063710a8d32f3f9e15fd9cdb6453c..c5c10fafcfe2e068fe33adc8367206a16e40c7bf 100644 (file)
@@ -16,6 +16,8 @@
 #include <net/addrconf.h>
 #include <net/inet_frag.h>
 
+static int one = 1;
+
 static struct ctl_table ipv6_table_template[] = {
        {
                .procname       = "bindv6only",
@@ -63,6 +65,14 @@ static struct ctl_table ipv6_rotable[] = {
                .mode           = 0644,
                .proc_handler   = proc_dointvec
        },
+       {
+               .procname       = "mld_qrv",
+               .data           = &sysctl_mld_qrv,
+               .maxlen         = sizeof(int),
+               .mode           = 0644,
+               .proc_handler   = proc_dointvec_minmax,
+               .extra1         = &one
+       },
        { }
 };