diff options
| author | Elena Reshetova <elena.reshetova@intel.com> | 2017-03-06 17:21:11 +0300 |
|---|---|---|
| committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-05-02 08:20:43 +0300 |
| commit | 5981c245a890db6a6e16fb6d3838cc9fc9fdf0ff (patch) | |
| tree | a1aa3f65fa046e1ac40b923e97b8b2f36b347c08 /net/lapb/lapb_timer.c | |
| parent | a5d68ba85801a78c892a0eb8efb711e293ed314b (diff) | |
| download | linux-5981c245a890db6a6e16fb6d3838cc9fc9fdf0ff.tar.xz | |
target/iblock: convert iblock_req.pending 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 <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
