aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/netfilter/nf_nat_sip.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/netfilter/nf_nat_sip.c b/net/ipv4/netfilter/nf_nat_sip.c
index 5b4a5cd23f39..b44281011d6d 100644
--- a/net/ipv4/netfilter/nf_nat_sip.c
+++ b/net/ipv4/netfilter/nf_nat_sip.c
@@ -104,9 +104,6 @@ static unsigned int ip_nat_sip(struct sk_buff *skb,
104 union nf_inet_addr addr; 104 union nf_inet_addr addr;
105 __be16 port; 105 __be16 port;
106 106
107 if (*datalen < strlen("SIP/2.0"))
108 return NF_ACCEPT;
109
110 /* Basic rules: requests and responses. */ 107 /* Basic rules: requests and responses. */
111 if (strnicmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) { 108 if (strnicmp(*dptr, "SIP/2.0", strlen("SIP/2.0")) != 0) {
112 if (ct_sip_parse_request(ct, *dptr, *datalen, 109 if (ct_sip_parse_request(ct, *dptr, *datalen,