aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_CLASSIFY.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/netfilter/xt_CLASSIFY.c')
-rw-r--r--net/netfilter/xt_CLASSIFY.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/netfilter/xt_CLASSIFY.c b/net/netfilter/xt_CLASSIFY.c
index 50de965bb104..195e92990da7 100644
--- a/net/netfilter/xt_CLASSIFY.c
+++ b/net/netfilter/xt_CLASSIFY.c
@@ -33,9 +33,7 @@ target(struct sk_buff **pskb,
{
const struct xt_classify_target_info *clinfo = targinfo;
- if ((*pskb)->priority != clinfo->priority)
- (*pskb)->priority = clinfo->priority;
-
+ (*pskb)->priority = clinfo->priority;
return XT_CONTINUE;
}