xt_SYSRQ: allow processing of UDP-Lite

This commit is contained in:
Jan Engelhardt
2010-03-16 17:27:59 +01:00
parent 7cfd3b1dbb
commit 524201adcc
2 changed files with 2 additions and 1 deletions

View File

@@ -208,7 +208,7 @@ sysrq_tg4(struct sk_buff **pskb, const struct xt_target_param *par)
return NF_DROP;
iph = ip_hdr(skb);
if (iph->protocol != IPPROTO_UDP)
if (iph->protocol != IPPROTO_UDP && iph->protocol != IPPROTO_UDPLITE)
return NF_ACCEPT; /* sink it */
udph = (const void *)iph + ip_hdrlen(skb);