Re: [net PATCH v2 2/6] net sched: ipt action fix late binding

2016-05-10 Thread Cong Wang
On Tue, May 10, 2016 at 1:49 PM, Jamal Hadi Salim wrote: > From: Jamal Hadi Salim > > This was broken and is fixed with this patch. > > //add an ipt action and give it an instance id of 1 > sudo tc actions add action ipt -j mark --set-mark 2 index 1 > //create a filter which binds to ipt action i

[net PATCH v2 2/6] net sched: ipt action fix late binding

2016-05-10 Thread Jamal Hadi Salim
From: Jamal Hadi Salim This was broken and is fixed with this patch. //add an ipt action and give it an instance id of 1 sudo tc actions add action ipt -j mark --set-mark 2 index 1 //create a filter which binds to ipt action id 1 sudo tc filter add dev $DEV parent : protocol ip prio 1 u32\ m