summaryrefslogtreecommitdiffstats
path: root/crypto/dh.c
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-07-05 16:24:33 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-08 05:42:29 +0200
commit90b73b77d08ec395311411b545c756ca710aae59 (patch)
tree50c929a316f5c3049e38fdc42e18a3baad8deaaa /crypto/dh.c
parentnet: sched: atomically check-allocate action (diff)
downloadlinux-90b73b77d08ec395311411b545c756ca710aae59.tar.xz
linux-90b73b77d08ec395311411b545c756ca710aae59.zip
net: sched: change action API to use array of pointers to actions
Act API used linked list to pass set of actions to functions. It is intrusive data structure that stores list nodes inside action structure itself, which means it is not safe to modify such list concurrently. However, action API doesn't use any linked list specific operations on this set of actions, so it can be safely refactored into plain pointer array. Refactor action API to use array of pointers to tc_actions instead of linked list. Change argument 'actions' type of exported action init, destroy and dump functions. Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto/dh.c')
0 files changed, 0 insertions, 0 deletions