All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] H.323: Add missing T.120 address in OLCA
@ 2007-05-17 20:00 Jing Min Zhao
  2007-05-24 18:58 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jing Min Zhao @ 2007-05-17 20:00 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter Development Mailinglist

Add missing process of T.120 address in OpenLogicalChannelAck signal.

Signed-off-by: Jing Min Zhao <zhaojingmin@vivecode.com>
---
 net/netfilter/nf_conntrack_h323_main.c |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c
index 6d668af..a1b95ac 100644
--- a/net/netfilter/nf_conntrack_h323_main.c
+++ b/net/netfilter/nf_conntrack_h323_main.c
@@ -520,6 +520,16 @@ static int process_olca(struct sk_buff **pskb, struct nf_conn *ct,
 		}
 	}
 
+	if ((olca->options & eOpenLogicalChannelAck_separateStack) &&
+		olca->separateStack.networkAddress.choice ==
+		eNetworkAccessParameters_networkAddress_localAreaAddress) {
+		ret = expect_t120(pskb, ct, ctinfo, data, dataoff,
+				  &olca->separateStack.networkAddress.
+				  localAreaAddress);
+		if (ret < 0)
+			return -1;
+	}
+
 	return 0;
 }
 
-- 
1.4.4.3

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

* Re: [PATCH] H.323: Add missing T.120 address in OLCA
  2007-05-17 20:00 [PATCH] H.323: Add missing T.120 address in OLCA Jing Min Zhao
@ 2007-05-24 18:58 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2007-05-24 18:58 UTC (permalink / raw)
  To: Jing Min Zhao; +Cc: Netfilter Development Mailinglist

Jing Min Zhao wrote:
> Add missing process of T.120 address in OpenLogicalChannelAck signal.

Applied, thanks.

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

end of thread, other threads:[~2007-05-24 18:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-17 20:00 [PATCH] H.323: Add missing T.120 address in OLCA Jing Min Zhao
2007-05-24 18:58 ` 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.