Re: [PATCH net-next 04/11] net: dsa: get and put tree reference counting

2017-11-03 Thread Florian Fainelli
On 11/03/2017 04:05 PM, Vivien Didelot wrote: > Provide convenient dsa_tree_get and dsa_tree_put functions scoping a DSA > tree used to increment and decrement its reference counter, instead of > poking directly its kref structure. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli

[PATCH net-next 04/11] net: dsa: get and put tree reference counting

2017-11-03 Thread Vivien Didelot
Provide convenient dsa_tree_get and dsa_tree_put functions scoping a DSA tree used to increment and decrement its reference counter, instead of poking directly its kref structure. Signed-off-by: Vivien Didelot --- net/dsa/dsa2.c | 40 1 file changed, 28 i