[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4787A974.7060408@bspu.unibel.by>
Date: Fri, 11 Jan 2008 15:37:56 -0200
From: Dzianis Kahanovich <mahatma@...u.unibel.by>
To: netdev@...r.kernel.org
Subject: Re: [PATCH 2.6.23+] ingress classify to [nf]mark
Patrick McHardy wrote:
>> --- linux-2.6.23-gentoo-r2/net/sched/sch_ingress.c
>> +++ linux-2.6.23-gentoo-r2.fixed/net/sched/sch_ingress.c
>> @@ -161,2 +161,5 @@
>> skb->tc_index = TC_H_MIN(res.classid);
>> +#ifdef CONFIG_NET_SCH_INGRESS_TC2MARK
>> + skb->mark =
>> (skb->mark&(res.classid>>16))|TC_H_MIN(res.classid);
>> +#endif
>> default:
>
>
> Behaviour like this shouldn't depend on compile-time options.
Also I want to move it outside of NET_CLS_ACT dependence, but unsure in
behaviour understanding without NET_CLS_ACT.
But there are reduse code.
--
WBR,
Denis Kaganovich, mahatma@...by http://mahatma.bspu.unibel.by
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists