]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_nat_sip: c= is optional for session
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 21 Jul 2008 17:03:23 +0000 (10:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2008 17:11:02 +0000 (10:11 -0700)
commit005a56899ef26bfce1ff8cf52b719688c5912f0b
tree4d7d97e2f35b72ee5da618ffdf60eb53e58350d8
parentf99b7a33b98b34c22472180ffb2e0545f209d8e7
netfilter: nf_nat_sip: c= is optional for session

According to RFC2327, the connection information is optional
in the session description since it can be specified in the
media description instead.

My provider does exactly that and does not provide any connection
information in the session description.  As a result the new
kernel drops all invite responses.

This patch makes it optional as documented.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_sip.c