All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH NF_CONNTRACK 8/9]: zero-clear union area in tuple for expectant
@ 2005-05-23  6:23 Yasuyuki KOZAKAI
  2005-06-11 15:36 ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Yasuyuki KOZAKAI @ 2005-05-23  6:23 UTC (permalink / raw)
  To: kaber; +Cc: netfilter-devel

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

This patch clears union area in tuple for expectant.

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

-----------------------------------------------------------------
Yasuyuki Kozakai @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>


[-- Attachment #2: 08-expect.patch --]
[-- Type: Text/Plain, Size: 556 bytes --]

diff -Nur linux-2.6.12-rc4-nfct-7-nat-seq/net/netfilter/nf_conntrack_core.c linux-2.6.12-rc4-nfct-8-expect/net/netfilter/nf_conntrack_core.c
--- linux-2.6.12-rc4-nfct-7-nat-seq/net/netfilter/nf_conntrack_core.c	2005-05-20 03:18:29.000000000 +0900
+++ linux-2.6.12-rc4-nfct-8-expect/net/netfilter/nf_conntrack_core.c	2005-05-20 03:16:23.000000000 +0900
@@ -987,6 +987,8 @@
 		DEBUGP("expect_related: OOM allocating expect\n");
 		return NULL;
 	}
+	NF_CT_TUPLE_U_BLANK(&new->tuple);
+	NF_CT_TUPLE_U_BLANK(&new->mask);
 	new->master = NULL;
 	return new;
 }

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

end of thread, other threads:[~2005-06-15  4:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23  6:23 [PATCH NF_CONNTRACK 8/9]: zero-clear union area in tuple for expectant Yasuyuki KOZAKAI
2005-06-11 15:36 ` Patrick McHardy
2005-06-15  4:05   ` Yasuyuki KOZAKAI

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.