From: Simon Horman Date: Tue, 21 Sep 2010 21:17:30 +0000 (+0000) Subject: netfilter: nf_ct_sip: default to NF_ACCEPT in sip_help_tcp() X-Git-Tag: v2.6.36-rc6~6^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7874896a26624214bd7c05eeba7c8ab01548b1b5;p=pandora-kernel.git netfilter: nf_ct_sip: default to NF_ACCEPT in sip_help_tcp() I initially noticed this because of the compiler warning below, but it does seem to be a valid concern in the case where ct_sip_get_header() returns 0 in the first iteration of the while loop. net/netfilter/nf_conntrack_sip.c: In function 'sip_help_tcp': net/netfilter/nf_conntrack_sip.c:1379: warning: 'ret' may be used uninitialized in this function Signed-off-by: Simon Horman [Patrick: changed NF_DROP to NF_ACCEPT] Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed