All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH NF_CONNTRACK]: fixed the bug that conntrack becomes its master.
@ 2005-03-16 19:02 Yasuyuki KOZAKAI
  2005-03-16 19:26 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Yasuyuki KOZAKAI @ 2005-03-16 19:02 UTC (permalink / raw)
  To: netfilter-devel; +Cc: usagi-core

[-- Attachment #1: Type: Text/Plain, Size: 175 bytes --]


Hi, Patrick,

This patch for nf_conntrack fixes a shameful bug that conntrack becomes
its master.

Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>

Regards,

[-- Attachment #2: fix-master.patch --]
[-- Type: Text/Plain, Size: 545 bytes --]

Index: linux-2.6/net/netfilter/nf_conntrack_core.c
===================================================================
--- linux-2.6/net/netfilter/nf_conntrack_core.c	(revision 3776)
+++ linux-2.6/net/netfilter/nf_conntrack_core.c	(working copy)
@@ -761,7 +761,7 @@
 			conntrack, exp);
 		/* Welcome, Mr. Bond.  We've been expecting you... */
 		__set_bit(NF_S_EXPECTED_BIT, &conntrack->status);
-		conntrack->master = conntrack;
+		conntrack->master = exp->master;
 #if CONFIG_NF_CONNTRACK_MARK
 		conntrack->mark = exp->master->mark;
 #endif

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

* Re: [PATCH NF_CONNTRACK]: fixed the bug that conntrack becomes its master.
  2005-03-16 19:02 [PATCH NF_CONNTRACK]: fixed the bug that conntrack becomes its master Yasuyuki KOZAKAI
@ 2005-03-16 19:26 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-03-16 19:26 UTC (permalink / raw)
  To: Yasuyuki KOZAKAI; +Cc: netfilter-devel, usagi-core

Yasuyuki KOZAKAI wrote:
> This patch for nf_conntrack fixes a shameful bug that conntrack becomes
> its master.

Good catch, applied.

Regards
Patrick

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

end of thread, other threads:[~2005-03-16 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-16 19:02 [PATCH NF_CONNTRACK]: fixed the bug that conntrack becomes its master Yasuyuki KOZAKAI
2005-03-16 19:26 ` Patrick McHardy

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.