diff options
| author | 2017-11-03 19:05:23 -0400 | |
|---|---|---|
| committer | 2017-11-05 22:31:38 +0900 | |
| commit | 65254108b4655dc55e8d8f62ee895960085e73f4 (patch) | |
| tree | 5fec65972b01cc9df6c7c84449e24968dbc11e55 /include/linux | |
| parent | net: dsa: simplify tree reference counting (diff) | |
net: dsa: get and put tree reference counting
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 <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
