generic/3.10: remove unused defines from the rootfs split patch
[openwrt.git] / target / linux / generic / patches-3.6 / 613-netfilter_optional_tcp_window_check.patch
index 1c259d4f0c5b5c1c6d0da2a53ae31677b0047183..551239b7cf4e7c4c2e755bd2c45bbf942e74d0c1 100644 (file)
@@ -10,7 +10,7 @@
  /* "Be conservative in what you do,
      be liberal in what you accept from others."
      If it's non-zero, we mark only out of window RST segments as INVALID. */
-@@ -524,6 +527,9 @@ static bool tcp_in_window(const struct n
+@@ -526,6 +529,9 @@ static bool tcp_in_window(const struct n
        s16 receiver_offset;
        bool res;
  
        /*
         * Get the required data from the packet.
         */
-@@ -1321,6 +1327,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",
-               .data           = &nf_ct_tcp_be_liberal,
-               .maxlen         = sizeof(unsigned int),
+       { }
+ };