serial: samsung: Fix possible out of bounds access on non-DT platform
[pandora-kernel.git] / net / netfilter / nf_conntrack_sip.c
index 93faf6a..4a8c55b 100644 (file)
@@ -1468,7 +1468,7 @@ static int sip_help_tcp(struct sk_buff *skb, unsigned int protoff,
 
                msglen = origlen = end - dptr;
                if (msglen > datalen)
-                       return NF_DROP;
+                       return NF_ACCEPT;
 
                ret = process_sip_msg(skb, ct, dataoff, &dptr, &msglen);
                if (ret != NF_ACCEPT)