aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/drop_monitor.c
diff options
context:
space:
mode:
authorChuhong Yuan <hslester96@gmail.com>2019-08-03 00:48:28 +0800
committerSaeed Mahameed <saeedm@mellanox.com>2019-08-09 14:54:11 -0700
commitb51c225e6c4e987e131b8b1332f66969382bf328 (patch)
treef3c75cc514035dc0c3984bf54cbf951df8fdd876 /net/core/drop_monitor.c
parentnet/mlx5e: Use vhca_id in generating representor port_index (diff)
downloadlinux-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