mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-07 13:15:12 +02:00
xt_SYSRQ: allow processing of UDP-Lite
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user