]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commit
pkt_sched: Fix actions referencing
authorJamal Hadi Salim <hadi@cyberus.ca>
Thu, 28 Aug 2008 05:38:11 +0000 (22:38 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Sep 2008 11:44:24 +0000 (04:44 -0700)
commit4cd12f888ddb3a535ca34104593a0a62724ab104
tree5cb9699455ad18c3c9e8d9dab8267de51ed5e9c0
parent685f605a498b73759cbcbc816089e804710fcc48
pkt_sched: Fix actions referencing

[ Upstream commit 76aab2c1eae491a5d73ac83deec97dd28ebac584 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/act_api.c