commit | 2a2ea349704fffade9526d5122299edbbfd122ca | [log] [tgz] |
---|---|---|
author | Vlad Buslov <vladbu@mellanox.com> | Thu Jul 05 17:24:27 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 08 12:42:28 2018 +0900 |
tree | 858f37c4b6f35c1fe8303f3229cd234b0b3044d7 | |
parent | 3f7c72bc4227b169ba2c924a7987324e24bbc4b2 [diff] |
net: sched: implement action API that deletes action by index Implement new action API function that atomically finds and deletes action from idr by index. Intended to be used by lockless actions that do not rely on rtnl lock. Reviewed-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>