1 commit 7645485eee60c03a4cbc0139d4848c6b8bf1ad39
2 Author: root <root@rhel6.(none)>
3 Date: Thu Apr 29 18:34:50 2010 -0400
5 linux-2.6-527-iptables-classify-add-mark.patch
7 diff --git a/include/linux/netfilter/xt_CLASSIFY.h b/include/linux/netfilter/xt_CLASSIFY.h
8 index a813bf1..c5cec1d 100644
9 --- a/include/linux/netfilter/xt_CLASSIFY.h
10 +++ b/include/linux/netfilter/xt_CLASSIFY.h
13 struct xt_classify_target_info {
18 #endif /*_XT_CLASSIFY_H */
19 diff --git a/net/netfilter/xt_CLASSIFY.c b/net/netfilter/xt_CLASSIFY.c
20 index 011bc80..5732034 100644
21 --- a/net/netfilter/xt_CLASSIFY.c
22 +++ b/net/netfilter/xt_CLASSIFY.c
23 @@ -32,6 +32,8 @@ classify_tg(struct sk_buff *skb, const struct xt_target_param *par)
24 const struct xt_classify_target_info *clinfo = par->targinfo;
26 skb->priority = clinfo->priority;
27 + if (clinfo->add_mark)
28 + skb->priority += skb->mark;