mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-08 05:34:58 +02:00
xt_SYSRQ: allow processing of UDP-Lite
This commit is contained in:
@@ -3,6 +3,7 @@ HEAD
|
|||||||
====
|
====
|
||||||
- ipp2p: updated bittorent command recognition
|
- ipp2p: updated bittorent command recognition
|
||||||
- SYSRQ: let module load when crypto is unavailable
|
- SYSRQ: let module load when crypto is unavailable
|
||||||
|
- SYSRQ: allow processing of UDP-Lite
|
||||||
|
|
||||||
|
|
||||||
Xtables-addons 1.23 (February 24 2010)
|
Xtables-addons 1.23 (February 24 2010)
|
||||||
|
@@ -208,7 +208,7 @@ sysrq_tg4(struct sk_buff **pskb, const struct xt_target_param *par)
|
|||||||
return NF_DROP;
|
return NF_DROP;
|
||||||
|
|
||||||
iph = ip_hdr(skb);
|
iph = ip_hdr(skb);
|
||||||
if (iph->protocol != IPPROTO_UDP)
|
if (iph->protocol != IPPROTO_UDP && iph->protocol != IPPROTO_UDPLITE)
|
||||||
return NF_ACCEPT; /* sink it */
|
return NF_ACCEPT; /* sink it */
|
||||||
|
|
||||||
udph = (const void *)iph + ip_hdrlen(skb);
|
udph = (const void *)iph + ip_hdrlen(skb);
|
||||||
|
Reference in New Issue
Block a user