]> git.ipfire.org Git - thirdparty/xtables-addons.git/commitdiff
xt_SYSRQ: allow processing of UDP-Lite
authorJan Engelhardt <jengelh@medozas.de>
Tue, 16 Mar 2010 16:27:59 +0000 (17:27 +0100)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 16 Mar 2010 16:27:59 +0000 (17:27 +0100)
doc/changelog.txt
extensions/xt_SYSRQ.c

index 14af57cbba15670d13810a71fe42db1fe664cbba..c75c4a5b720d8975f7300a1e5506de96e92a9cab 100644 (file)
@@ -3,6 +3,7 @@ HEAD
 ====
 - ipp2p: updated bittorent command recognition
 - SYSRQ: let module load when crypto is unavailable
+- SYSRQ: allow processing of UDP-Lite
 
 
 Xtables-addons 1.23 (February 24 2010)
index 0dd4c43b457fd893e59e17eeb66e4b265cc236ed..61d36c6910ddacde3c85f0df59c43e9d3122160f 100644 (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);