Message ID | CAEzD07LUMu+SEy7YM=Wi=ZEihE6SWZxbh3qjUCYBxFGiC40uwA@mail.gmail.com |
---|---|
State | Rejected, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c index 10d3aed..4678a77 100644 --- a/net/sched/act_pedit.c +++ b/net/sched/act_pedit.c @@ -151,7 +151,7 @@ static int tcf_pedit(struct sk_buff *skb, const struct tc_action *a, &_d); if (!d) goto bad; - offset += (*d & tkey->offmask) >> tkey->shift; + offset += ntohl(*d & tkey->offmask) >> tkey->shift; }