From: Greg KH <gregkh@linuxfoundation.org>
To: "Stephan Müller" <smueller@chronox.de>
Cc: herbert@gondor.apana.org.au, stable@vger.kernel.org,
stable-commits@vger.kernel.org
Subject: Re: [PATCH v5] crypto: only call put_page on referenced and used pages
Date: Tue, 5 Sep 2017 08:22:43 +0200 [thread overview]
Message-ID: <20170905062243.GA15083@kroah.com> (raw)
In-Reply-To: <4873667.m4DXuR1bCz@positron.chronox.de>
On Mon, Sep 04, 2017 at 11:17:33PM +0200, Stephan M�ller wrote:
> Hi Greg,
>
> > Nope, this broke the build, sorry. If you want it in 4.4-stable, please
> > provide a backported patch.
>
>
> The issue is the missing page_ref_count function which used to be
> atomic_read(&page->_count).
>
> I am not fully sure how to properly provide a patch for old kernels. Below
> is a manually created patch that compiles and has the same logic. Please
> let me know if that patch is not suitable.
That works great, thanks.
> Note, this patch is only for 4.4 and earlier.
This doesn't apply to 3.18-stable, is it needed there?
thanks,
greg k-h
next prev parent reply other threads:[~2017-09-05 6:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-04 9:44 Patch "crypto: algif_skcipher - only call put_page on referenced and used pages" has been added to the 4.4-stable tree gregkh
2017-09-04 10:27 ` Greg KH
2017-09-04 21:17 ` [PATCH v5] crypto: only call put_page on referenced and used pages Stephan Müller
2017-09-05 6:22 ` Greg KH [this message]
2017-09-05 6:31 ` Stephan Mueller
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=20170905062243.GA15083@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=herbert@gondor.apana.org.au \
--cc=smueller@chronox.de \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.