All of lore.kernel.org
 help / color / mirror / Atom feed
* CONNMARK patch do not work in kernel 2.6.9
@ 2004-12-04 10:24 Evgeniy Zaitsev
  2004-12-05 15:19 ` Lopsch
  0 siblings, 1 reply; 4+ messages in thread
From: Evgeniy Zaitsev @ 2004-12-04 10:24 UTC (permalink / raw)
  To: netfilter

Hello.

I try to use latest patch-o-matic to
I have tried to use last patch-o-matic
(patch-o-matic-ng-20040621.tar.bz2 also do not work)
for addition of purpose CONNMARK in iptables on a kernel 2.6.9

But the patch is not set, as does not find the necessary lines of a code in a file
linux/net/ipv4/netfilter/ip_conntrack_standalone.c

================code===================
diff -uN --exclude .* --exclude *.o linux-2.4.3-pre3/net/ipv4/netfilter/ip_conntrack_standalone.c
linux-2.4.3-pre3-uml/net/ipv4/netfilter/ip_conntrack_standalone.c
--- linux-2.4.3-pre3/net/ipv4/netfilter/ip_conntrack_standalone.c       Thu Aug 10 21:35:15 2000
+++ linux-2.4.3-pre3-uml/net/ipv4/netfilter/ip_conntrack_standalone.c   Wed Mar 21 13:04:19 2001
@@ -92,6 +92,9 @@
                len += sprintf(buffer + len, "[UNCONFIRMED] ");
        len += sprintf(buffer + len, "use=%u ",
                       atomic_read(&conntrack->ct_general.use));
+#if defined(CONFIG_IP_NF_CONNTRACK_MARK)
+       len += sprintf(buffer + len, "mark=%ld ", conntrack->mark);
+#endif
        len += sprintf(buffer + len, "\n");

        return len;  
================/code==================



The code "&conntrack->ct_general.use" is mentioned in this piece:

Will not prompt where to make changes what it would be possible to activate CONNMARK on a nucleus 2.6.9?
================code===================
if (test_bit(IPS_ASSURED_BIT, &conntrack->status))
   if (seq_printf(s, "[ASSURED] "))
      return 1;

if (seq_printf(s, "use=%u\n", atomic_read(&conntrack->ct_general.use)))
   return 1;

return 0;
}

================/code==================

but this code is completely not similar that in a patch.

Prompt please, it is necessary to bring in what changes to a kernel
2.6.9, that CONNMARK would work?


-- 
Best regards,
 Evgeniy                          mailto:eightn@roger.net.ru



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

end of thread, other threads:[~2004-12-14  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-04 10:24 CONNMARK patch do not work in kernel 2.6.9 Evgeniy Zaitsev
2004-12-05 15:19 ` Lopsch
2004-12-13 22:28   ` Re[2]: " Evgeniy Zaitsev
2004-12-14  1:41     ` Lopsch

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.