On Wed, Apr 23, 2014 at 4:30 AM, Jamal Hadi Salim <jhs@xxxxxxxxxxxx> wrote: > > I dont see what you are seeing. However, some quick tests will prove it. > Example go from 1->3 actions and backwards 3->1 actions. > I.e create a policy with (handwave) 3 actions and replace it with > another that has only one action. Do this while you are sending a > ping exercising this policy. > I can see how yours with 1->0 and 0->1 will work. See below (with this patch applied): # tc filter show dev lo parent ffff: filter protocol arp pref 49152 basic filter protocol arp pref 49152 basic handle 0x1 action order 1: mirred (Egress Mirror to device dummy1) pipe index 1 ref 1 bind 1 action order 2: mirred (Egress Mirror to device dummy2) pipe index 2 ref 1 bind 1 action order 3: mirred (Egress Mirror to device dummy3) pipe index 3 ref 1 bind 1 # tc filter change dev lo parent ffff: protocol arp pref 49152 handle 1 basic action mirred egress mirror dev dummy1 index 1 # tc filter show dev lo parent ffff: filter protocol arp pref 49152 basic filter protocol arp pref 49152 basic handle 0x1 action order 1: mirred (Egress Mirror to device dummy1) pipe index 1 ref 1 bind 1 # tc action ls action mirred action order 0: mirred (Egress Mirror to device dummy1) pipe index 1 ref 1 bind 1 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html