]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pkt_sched: Fix actions referencing
authorJamal Hadi Salim <hadi@cyberus.ca>
Fri, 8 Aug 2008 03:37:22 +0000 (20:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Aug 2008 03:37:22 +0000 (20:37 -0700)
commit76aab2c1eae491a5d73ac83deec97dd28ebac584
treeba680489b5dc20cc1afad6c5c0fef36b31918d9a
parent4ab84d450e24b3a309608182a8d8e30626b46f8f
pkt_sched: Fix actions referencing

When an action is added several times with the same exact index
it gets deleted on every even-numbered attempt.
This fixes that issue.

Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c