aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2017-08-18 12:08:07 -0700
committerDavid S. Miller <[email protected]>2017-08-18 15:14:07 -0700
commit9620fef27ed2cdb37bf6fd028f32bea2ef5119a8 (patch)
tree7d4b243d0f353b98fd379d0d6ad800d734506e30 /tools/perf/util/scripting-engines/trace-event-python.c
parent633cefe390e59e9449dc88707235e57ac76b5c38 (diff)
ipv4: convert dst_metrics.refcnt from atomic_t to refcount_t
refcount_t type and corresponding API should be used instead of atomic_t when the variable is used as a reference counter. This allows to avoid accidental refcounter overflows that might lead to use-after-free situations. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions