Two ipt_CLUSTERIP fixes
Subsystems (2)
PATCH 1/1 Two ipt_CLUSTERIP fixes
Hi Dave!
Please apply the following two small CLUSTERIP fixes to your tree.
Thanks.
===
Fix handling of ICMP packets (RELATED) in ipt_CLUSTERIP target.
---
commit c51a9fa4957bf92a2d430ec56b31b27318c42984
tree 0c9caa0c5b8b19e81d276bf8e864bd065324972c
parent b6d31e80f0d6a722bf85b3a7090df473fc545980
author Harald Welte <[email protected]> 1115378435 +0200 committer Harald Welte <[email protected]> 1115378435 +0200
net/ipv4/netfilter/ipt_CLUSTERIP.c (mode:100644 sha1:85b7bbbe2953e8efedc163e833a0c8b34d616575) renamed from net/ipv4/netfilter/ipt_CLUSTERIP.c (mode:100644 sha1:0f12e3a3dc73dc9e4c6a535a717581c2f89d3958) +1 -1
@@ -338,7 +338,7 @@ * error messages (RELATED) and information requests (see below) */ if ((*pskb)->nh.iph->protocol == IPPROTO_ICMP && (ctinfo == IP_CT_RELATED - || ctinfo == IP_CT_IS_REPLY+IP_CT_IS_REPLY)) + || ctinfo == IP_CT_RELATED+IP_CT_IS_REPLY)) return IPT_CONTINUE; /* ip_conntrack_icmp guarantees us that we only have ICMP_ECHO,
!-------------------------------------------------------------flip-
Fix "iptables -D" rule deletion with ipt_CLUSTERIP target. The patch just changes the order of structure members.
---
commit c38fe815dfba73749ecd94f855883018dfccc6b6
tree 09cd81a88d9efa542d79941d00d893462cbe7b7f
parent c51a9fa4957bf92a2d430ec56b31b27318c42984 author Harald Welte <[email protected]> 1115380872 +0200 committer Harald Welte <[email protected]> 1115380872 +0200
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h (mode:100644 sha1:d9bceedfb3dca67c9c8e3290480e7cb2d2a2b28e) renamed from include/linux/netfilter_ipv4/ipt_CLUSTERIP.h (mode:100644 sha1:baa83e757156c66d9e34015f554512eadb84f1f1) +2 -1
@@ -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*/
!-------------------------------------------------------------flip-
Signature · 4 lines
- Harald Welte <[email protected]> http://gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)