lkml.org 
[lkml]   [2017]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 0/3] s390 refcount conversions
From
Date
On 10/20/2017 09:47 AM, Elena Reshetova wrote:
> This series, for S390, replaces atomic_t reference
> counters with the new refcount_t type and API (see include/linux/refcount.h).
> By doing this we prevent intentional or accidental
> underflows or overflows that can led to use-after-free vulnerabilities.
>
> The patches are fully independent and can be cherry-picked separately.
> Patches are based on top of linux-next as of yesterday.
> If there are no objections to the patches, please merge them via respective trees
>
> Elena Reshetova (3):
> [S390] vmur: convert urdev.ref_count from atomic_t to refcount_t
> [S390] net: convert lcs_reply.refcnt from atomic_t to refcount_t
> [S390] qeth: convert qeth_reply.refcnt from atomic_t to refcount_t
>
> drivers/s390/char/vmur.c | 8 ++++----
> drivers/s390/char/vmur.h | 4 +++-
> drivers/s390/net/lcs.c | 10 +++++-----
> drivers/s390/net/lcs.h | 3 ++-
> drivers/s390/net/qeth_core.h | 3 ++-
> drivers/s390/net/qeth_core_main.c | 10 +++++-----
> 6 files changed, 21 insertions(+), 17 deletions(-)
>
Thanks Elena, I picked up the two network patches. Also removed the WARN_ONs while applying,
those who care may use CONFIG_REFCOUNT_FULL.

\
 
 \ /
  Last update: 2017-10-23 14:12    [W:0.031 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site