diff options
author | 2017-08-18 12:08:07 -0700 | |
---|---|---|
committer | 2017-08-18 15:14:07 -0700 | |
commit | 9620fef27ed2cdb37bf6fd028f32bea2ef5119a8 (patch) | |
tree | 7d4b243d0f353b98fd379d0d6ad800d734506e30 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next (diff) | |
download | wireguard-linux-9620fef27ed2cdb37bf6fd028f32bea2ef5119a8.tar.xz wireguard-linux-9620fef27ed2cdb37bf6fd028f32bea2ef5119a8.zip |
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions