summaryrefslogtreecommitdiffstats
path: root/net/sched/act_pedit.c
diff options
context:
space:
mode:
authorVlad Buslov2018-07-05 16:24:27 +0200
committerDavid S. Miller2018-07-08 05:42:28 +0200
commit2a2ea349704fffade9526d5122299edbbfd122ca (patch)
tree858f37c4b6f35c1fe8303f3229cd234b0b3044d7 /net/sched/act_pedit.c
parentnet: sched: always take reference to action (diff)
downloadkernel-qcow2-linux-2a2ea349704fffade9526d5122299edbbfd122ca.tar.gz
kernel-qcow2-linux-2a2ea349704fffade9526d5122299edbbfd122ca.tar.xz
kernel-qcow2-linux-2a2ea349704fffade9526d5122299edbbfd122ca.zip
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>
Diffstat (limited to 'net/sched/act_pedit.c')
0 files changed, 0 insertions, 0 deletions