Messages in this thread | | | Subject | Re: [PATCH] drivers, scsi: convert fc_fcp_pkt.ref_cnt from atomic_t to refcount_t | From | "Martin K. Petersen" <> | Date | Wed, 15 Mar 2017 19:07:51 -0400 |
| |
Elena Reshetova <elena.reshetova@intel.com> writes:
> 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.
Applied to 4.12/scsi-queue.
-- Martin K. Petersen Oracle Linux Engineering
| |