diff options
| author | Elena Reshetova <[email protected]> | 2017-03-09 09:44:02 +0200 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-03-15 18:44:02 -0400 |
| commit | 22c70d1a9c639b432ffdf083bea44752ad9fc8f3 (patch) | |
| tree | 77a5f3bf9d214c2e7abbcd09b309fa17627543a5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | fb5fe0fd626c425ed41842c4318aa7ab6f3c2db7 (diff) | |
scsi: libfc: convert fc_fcp_pkt.ref_cnt 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: Elena Reshetova <[email protected]>
Signed-off-by: Hans Liljestrand <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David Windsor <[email protected]>
Acked-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions