Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1601799
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] drivers, scsi: convert fc_fcp_pkt.ref_cnt from atomic_t to refcount_t |
| Date | 2017-03-16 00:10 +0100 |
| Message-ID | <tlqdk-6eS-7@gated-at.bofh.it> (permalink) |
| References | <tj0ZI-21W-5@gated-at.bofh.it> |
| Organization | Oracle Corporation |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] drivers, scsi: convert fc_fcp_pkt.ref_cnt from atomic_t to refcount_t "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-03-16 00:10 +0100
csiph-web