generic: fix tcp_window_check patch for 3.6
[openwrt/staging/mkresin.git] / target / linux / generic / patches-3.6 / 613-netfilter_optional_tcp_window_check.patch
index a1e46effee8ce81ffd8f4badd4369522e14bf3b9..551239b7cf4e7c4c2e755bd2c45bbf942e74d0c1 100644 (file)
        /*
         * Get the required data from the packet.
         */
-@@ -1425,6 +1431,13 @@ static struct ctl_table tcp_sysctl_table
+@@ -1436,6 +1442,13 @@ static struct ctl_table tcp_sysctl_table
+               .mode           = 0644,
                .proc_handler   = proc_dointvec,
        },
-       {
++      {
 +              .procname       = "nf_conntrack_tcp_no_window_check",
 +              .data           = &nf_ct_tcp_no_window_check,
 +              .maxlen         = sizeof(unsigned int),
 +              .mode           = 0644,
 +              .proc_handler   = proc_dointvec,
 +      },
-+      {
-               .procname       = "nf_conntrack_tcp_be_liberal",
-               .maxlen         = sizeof(unsigned int),
-               .mode           = 0644,
+       { }
+ };