Messages in this thread | | | Subject | Re: [PATCH net-next 05/11] net: dsa: provide a find or new tree helper | From | Florian Fainelli <> | Date | Fri, 3 Nov 2017 16:18:16 -0700 |
| |
On 11/03/2017 04:05 PM, Vivien Didelot wrote: > 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> -- Florian
| |