diff options
author | Patrick McHardy <kaber@trash.net> | 2008-05-08 01:15:21 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-05-08 01:15:21 -0700 |
commit | ef75d49f116bccbb80bccd423ecf3cb86c4509a5 (patch) | |
tree | 9aad710282284d7f7ac97dac1f23428c3787dc3e /include/linux/netfilter | |
parent | 7312096454b6cd71267eaa3d0efb408e449e9ff3 (diff) | |
download | linux-ef75d49f116bccbb80bccd423ecf3cb86c4509a5.tar.gz linux-ef75d49f116bccbb80bccd423ecf3cb86c4509a5.tar.bz2 linux-ef75d49f116bccbb80bccd423ecf3cb86c4509a5.zip |
netfilter: nf_conntrack_sip: restrict RTP expect flushing on error to last request
Some Inovaphone PBXs exhibit very stange behaviour: when dialing for
example "123", the device sends INVITE requests for "1", "12" and
"123" back to back. The first requests will elicit error responses
from the receiver, causing the SIP helper to flush the RTP
expectations even though we might still see a positive response.
Note the sequence number of the last INVITE request that contained a
media description and only flush the expectations when receiving a
negative response for that sequence number.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r-- | include/linux/netfilter/nf_conntrack_sip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_conntrack_sip.h b/include/linux/netfilter/nf_conntrack_sip.h index 5da04e586a3f..23aa2ec6b7b7 100644 --- a/include/linux/netfilter/nf_conntrack_sip.h +++ b/include/linux/netfilter/nf_conntrack_sip.h @@ -7,6 +7,7 @@ struct nf_ct_sip_master { unsigned int register_cseq; + unsigned int invite_cseq; }; enum sip_expectation_classes { |