From: Jing Min Zhao Date: Thu, 24 May 2007 23:44:11 +0000 (-0700) Subject: [NETFILTER]: nf_conntrack_h323: add missing T.120 address in OLCA X-Git-Tag: v2.6.22-rc3~9^2~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f8f1c08eaef838e22bf427665da87cfa73e5074d;p=linux-2.6-omap-h63xx.git [NETFILTER]: nf_conntrack_h323: add missing T.120 address in OLCA Add missing process of T.120 address in OpenLogicalChannelAck signal. Signed-off-by: Jing Min Zhao Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/netfilter/nf_conntrack_h323_main.c b/net/netfilter/nf_conntrack_h323_main.c index 6d668af4f99..a1b95acad29 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; }