tipc: avoid packets leaking on socket receive queue
[deliverable/linux.git] / net / core / sysctl_net_core.c
index 8ce351ffceb122568ae05587a0b1dc3544d476d7..95b6139d710c46825d1e43f825188d81fcb70f60 100644 (file)
@@ -24,7 +24,6 @@
 
 static int zero = 0;
 static int one = 1;
-static int ushort_max = USHRT_MAX;
 static int min_sndbuf = SOCK_MIN_SNDBUF;
 static int min_rcvbuf = SOCK_MIN_RCVBUF;
 
@@ -403,7 +402,6 @@ static struct ctl_table netns_core_table[] = {
                .maxlen         = sizeof(int),
                .mode           = 0644,
                .extra1         = &zero,
-               .extra2         = &ushort_max,
                .proc_handler   = proc_dointvec_minmax
        },
        { }
This page took 0.023849 seconds and 5 git commands to generate.