Skip to contentSkip to conversation

resync ipt_cluster structure

PATCH In review Pablo Neira 2 participants 2 messages May 5, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 resync ipt_cluster structure

Hi Harald,

Currently ipt_clusterip_tgt_info structure is out of sync with regards to iptables snapshot in SVN. This happened because the patch to fix deletion was applied to iptables but not the kernel part, so it got lost somehow.

The patch attached fixes it, please apply.

--
Pablo

include/linux/netfilter_ipv4/ipt_CLUSTERIP.h (mode:100644) renamed from include/linux/netfilter_ipv4/ipt_CLUSTERIP.h (mode:100644 sha1:baa83e757156c66d9e34015f554512eadb84f1f1) +2 -1
Index: include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
===================================================================
@@ -18,7 +18,6 @@
 struct ipt_clusterip_tgt_info {
 
 	u_int32_t flags;
-	struct clusterip_config *config;
 	
 	/* only relevant for new ones */
 	u_int8_t clustermac[6];
@@ -27,6 +26,8 @@
 	u_int16_t local_nodes[CLUSTERIP_MAX_NODES];
 	enum clusterip_hashmode hash_mode;
 	u_int32_t hash_initval;
+
+	struct clusterip_config *config;
 };
 
 #endif /*_IPT_CLUSTERIP_H_target*/
#1 lore raw
Quoted 5 lines · Pablo Neira

Hi Harald,

Currently ipt_clusterip_tgt_info structure is out of sync with regards to iptables snapshot in SVN. This happened because the patch to fix deletion was applied to iptables but not the kernel part, so it got lost somehow.

thanks, I'll push it with my other change to davem. Trying to set up a local git tree where he can pull from, before.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie