diff options
author | 2017-11-03 19:05:24 -0400 | |
---|---|---|
committer | 2017-11-05 22:31:39 +0900 | |
commit | 1ca28ec9abff927178b1ea9d6431e4c320145b10 (patch) | |
tree | ee3531e3e3d447b35c2a9cdf5f037014af5f9466 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: get and put tree reference counting (diff) | |
download | wireguard-linux-1ca28ec9abff927178b1ea9d6431e4c320145b10.tar.xz wireguard-linux-1ca28ec9abff927178b1ea9d6431e4c320145b10.zip |
net: dsa: provide a find or new tree helper
Rename dsa_get_dst to dsa_tree_find since it doesn't increment the
reference counter, rename dsa_add_dst to dsa_tree_alloc for symmetry
with dsa_tree_free, and provide a convenient dsa_tree_touch function to
find or allocate a new tree.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions