Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1601799 > unrolled thread
| Started by | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| First post | 2017-03-16 00:10 +0100 |
| Last post | 2017-03-16 00:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | "Martin K. Petersen" <martin.petersen@oracle.com> |
|---|---|
| Date | 2017-03-16 00:10 +0100 |
| Subject | Re: [PATCH] drivers, scsi: convert fc_fcp_pkt.ref_cnt from atomic_t to refcount_t |
| Message-ID | <tlqdk-6eS-7@gated-at.bofh.it> |
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 top | Article view | linux.kernel
csiph-web