diff options
author | 2019-08-03 00:48:28 +0800 | |
---|---|---|
committer | 2019-08-09 14:54:11 -0700 | |
commit | b51c225e6c4e987e131b8b1332f66969382bf328 (patch) | |
tree | f3c75cc514035dc0c3984bf54cbf951df8fdd876 /net/core/drop_monitor.c | |
parent | net/mlx5e: Use vhca_id in generating representor port_index (diff) | |
download | linux-rng-b51c225e6c4e987e131b8b1332f66969382bf328.tar.xz linux-rng-b51c225e6c4e987e131b8b1332f66969382bf328.zip |
net/mlx5e: Use refcount_t for refcount
refcount_t is better for reference counters since its
implementation can prevent overflows.
So convert atomic_t ref counters to refcount_t.
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'net/core/drop_monitor.c')
0 files changed, 0 insertions, 0 deletions