RE: [PATCH 0/3] s390 refcount conversions
From: Reshetova, Elena
Date: Tue Oct 24 2017 - 02:58:18 EST
> 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.
Thank you Julian! I had them first removed also, but since we got x86 that doesn't
WARN in these cases, I put them back just to make sure I don't make any
unexpected changes.
Do you know who would be the correct person to take the last patch?
Best Regards,
Elena