All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Unconditionaly push mark to conntrack structure
@ 2006-05-19  8:45 Eric Leblond
  2006-05-30 23:43 ` Patrick McHardy
  0 siblings, 1 reply; 10+ messages in thread
From: Eric Leblond @ 2006-05-19  8:45 UTC (permalink / raw)
  To: netfilter-devel

This is needed in userspace as the mark can be used to select 
efficiently a subset of the conntrack events to work on.

Signed-off-by: Eric Leblond <eric@inl.fr>


---

 net/ipv4/netfilter/ip_conntrack_netlink.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

a0d56f7badb6267e07582a569c82779b2cdb2711
diff --git a/net/ipv4/netfilter/ip_conntrack_netlink.c b/net/ipv4/netfilter/ip_conntrack_netlink.c
index 0fee630..02531fe 100644
--- a/net/ipv4/netfilter/ip_conntrack_netlink.c
+++ b/net/ipv4/netfilter/ip_conntrack_netlink.c
@@ -381,8 +381,8 @@ static int ctnetlink_conntrack_event(str
 	if (events & IPCT_HELPINFO
 	    && ctnetlink_dump_helpinfo(skb, ct) < 0)
 		goto nfattr_failure;
-	if (events & IPCT_MARK
-	    && ctnetlink_dump_mark(skb, ct) < 0)
+
+	if (ctnetlink_dump_mark(skb, ct) < 0)
 		goto nfattr_failure;
 
 	if (ctnetlink_dump_counters(skb, ct, IP_CT_DIR_ORIGINAL) < 0 ||
-- 
1.2.6

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-06-11 22:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-19  8:45 [PATCH] Unconditionaly push mark to conntrack structure Eric Leblond
2006-05-30 23:43 ` Patrick McHardy
2006-05-30 23:55   ` Patrick McHardy
2006-05-31  0:26     ` Patrick McHardy
2006-05-31  0:35       ` Pablo Neira Ayuso
2006-05-31  1:01         ` Patrick McHardy
2006-06-06 11:35           ` Pablo Neira Ayuso
2006-06-08  7:25             ` Patrick McHardy
2006-06-11 22:00               ` Pablo Neira Ayuso
2006-06-06 17:27           ` Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.