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)
commitc71529e42ce39c167dc53430cb8f3d5634af77df
tree4d7d97e2f35b72ee5da618ffdf60eb53e58350d8
parentdb1a75bdcc1766dc7e1fae9201ae287dcbcb6c66
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