Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d258131a authored by Jerome Borsboom's avatar Jerome Borsboom Committed by David S. Miller
Browse files

[NETFILTER]: nf_conntrack_sip: add missing message types containing RTP info

parent 3f2c6d0f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -442,6 +442,9 @@ static int sip_help(struct sk_buff **pskb,

	/* RTP info only in some SDP pkts */
	if (memcmp(dptr, "INVITE", sizeof("INVITE") - 1) != 0 &&
	    memcmp(dptr, "UPDATE", sizeof("UPDATE") - 1) != 0 &&
	    memcmp(dptr, "SIP/2.0 180", sizeof("SIP/2.0 180") - 1) != 0 &&
	    memcmp(dptr, "SIP/2.0 183", sizeof("SIP/2.0 183") - 1) != 0 &&
	    memcmp(dptr, "SIP/2.0 200", sizeof("SIP/2.0 200") - 1) != 0) {
		goto out;
	}