diff options
| author | 2020-04-24 18:43:44 +0300 | |
|---|---|---|
| committer | 2020-04-24 15:41:51 -0700 | |
| commit | 4c00dafc59c7cc25a381abf7671b203a2fcfca71 (patch) | |
| tree | d8b01173b9a06ca3c6c4f336a03ac0d5e36b9d94 /net/sched/cls_api.c | |
| parent | mlxsw: spectrum_span: Remove unnecessary debug prints (diff) | |
| download | wireguard-linux-4c00dafc59c7cc25a381abf7671b203a2fcfca71.tar.xz wireguard-linux-4c00dafc59c7cc25a381abf7671b203a2fcfca71.zip | |
mlxsw: spectrum_span: Use 'refcount_t' for reference counting
'refcount_t' is very useful for catching over/under flows. Convert the
SPAN agent objects to use it instead of 'int' for their reference count.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions
