mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Howells <dhowells@redhat.com>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: dhowells@redhat.com, Zhihao Cheng <chengzhihao1@huawei.com>,
	linux-afs@lists.infradead.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, Yi Zhang <yi.zhang@huawei.com>
Subject: Re: [PATCH] afs: Fix memory leak in afs_put_sysnames()
Date: Mon, 01 Jun 2020 13:35:01 +0100	[thread overview]
Message-ID: <1306563.1591014901@warthog.procyon.org.uk> (raw)
In-Reply-To: <d8e5aa79-3f83-a5de-5aa8-7bd4a287646e@web.de>

Markus Elfring <Markus.Elfring@web.de> wrote:

> > sysnames should be freed after refcnt being decreased to zero in
> > afs_put_sysnames().
> 
> * I suggest to use the wording “reference counter”.

Can you use ASCII quotes please?  Not all fonts contain these quotes, and
occasionally they got copied into commit messages.

> * Where did you notice a “memory leak” here?

He said "sysnames should be freed after refcnt being decreased to zero in
afs_put_sysnames()".

> * Will the tag “Fixes” become relevant for the commit message?

It is the correct tag.

David


  reply	other threads:[~2020-06-01 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-01 11:18 Markus Elfring
2020-06-01 12:35 ` David Howells [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-01  9:21 Zhihao Cheng
2020-06-01 12:31 ` David Howells

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1306563.1591014901@warthog.procyon.org.uk \
    --to=dhowells@redhat.com \
    --cc=Markus.Elfring@web.de \
    --cc=chengzhihao1@huawei.com \
    --cc=linux-afs@lists.infradead.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yi.zhang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome