mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[NETFILTER]: nf_conntrack_h323: logical-bitwise & confusion in process_setup()
logical-bitwise & confusion Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
247df4548f
commit
6aebb9b280
1 changed files with 1 additions and 1 deletions
|
@ -842,7 +842,7 @@ static int process_setup(struct sk_buff *skb, struct nf_conn *ct,
|
||||||
|
|
||||||
set_h225_addr = rcu_dereference(set_h225_addr_hook);
|
set_h225_addr = rcu_dereference(set_h225_addr_hook);
|
||||||
if ((setup->options & eSetup_UUIE_destCallSignalAddress) &&
|
if ((setup->options & eSetup_UUIE_destCallSignalAddress) &&
|
||||||
(set_h225_addr) && ct->status && IPS_NAT_MASK &&
|
(set_h225_addr) && ct->status & IPS_NAT_MASK &&
|
||||||
get_h225_addr(ct, *data, &setup->destCallSignalAddress,
|
get_h225_addr(ct, *data, &setup->destCallSignalAddress,
|
||||||
&addr, &port) &&
|
&addr, &port) &&
|
||||||
memcmp(&addr, &ct->tuplehash[!dir].tuple.src.u3, sizeof(addr))) {
|
memcmp(&addr, &ct->tuplehash[!dir].tuple.src.u3, sizeof(addr))) {
|
||||||
|
|
Loading…
Reference in a new issue