From: Patrick McHardy Date: Mon, 16 May 2011 12:45:39 +0000 (+0200) Subject: netfilter: nf_ct_sip: fix SDP parsing in TCP SIP messages for some Cisco phones X-Git-Tag: v2.6.39.1~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6406426e95eea9ccfcc8b15ac6613c8af438cffe;p=pandora-kernel.git netfilter: nf_ct_sip: fix SDP parsing in TCP SIP messages for some Cisco phones [ Upstream commit e6e4d9ed11fb1fab8b3256a3dc14d71b5e984ac4 ] Some Cisco phones do not place the Content-Length field at the end of the SIP message. This is valid, due to a misunderstanding of the specification the parser expects the SDP body to start directly after the Content-Length field. Fix the parser to scan for \r\n\r\n to locate the beginning of the SDP body. Reported-by: Teresa Kang Signed-off-by: Patrick McHardy Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed