summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-07-31 23:46:18 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-08-02 13:38:28 -0700
commitb10866fd7dd9ae9b8dd03646d28702a76d624474 (patch)
tree8eb91aca0d40163409efc3da25ef26d67e75f646
parent87f5032e0ca149bd03f0e2b46071b0c4a2312e82 (diff)
downloadop-kernel-dev-b10866fd7dd9ae9b8dd03646d28702a76d624474.zip
op-kernel-dev-b10866fd7dd9ae9b8dd03646d28702a76d624474.tar.gz
[NETFILTER]: SIP helper: expect RTP streams in both directions
Since we don't know in which direction the first packet will arrive, we need to create one expectation for each direction, which is currently prevented by max_expected beeing set to 1. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv4/netfilter/ip_conntrack_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/ip_conntrack_sip.c b/net/ipv4/netfilter/ip_conntrack_sip.c
index fc87ce0..4f222d6 100644
--- a/net/ipv4/netfilter/ip_conntrack_sip.c
+++ b/net/ipv4/netfilter/ip_conntrack_sip.c
@@ -442,7 +442,7 @@ static int __init init(void)
sip[i].tuple.src.u.udp.port = htons(ports[i]);
sip[i].mask.src.u.udp.port = 0xFFFF;
sip[i].mask.dst.protonum = 0xFF;
- sip[i].max_expected = 1;
+ sip[i].max_expected = 2;
sip[i].timeout = 3 * 60; /* 3 minutes */
sip[i].me = THIS_MODULE;
sip[i].help = sip_help;
OpenPOWER on IntegriCloud