archive mirror
 help / color / mirror / Atom feed
From: David Miller <>
Subject: Re: [PATCH net-next] ppp: mppe: Remove VLA usage
Date: Fri, 03 Aug 2018 19:55:13 +0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <20180803163745.GA45715@beast>

From: Kees Cook <>
Date: Fri, 3 Aug 2018 09:37:45 -0700

> In the quest to remove all stack VLA usage from the kernel[1], this
> removes the discouraged use of AHASH_REQUEST_ON_STACK (and associated
> VLA) by switching to shash directly and keeping the associated descriptor
> allocated with the regular state on the heap.
> [1]
> Signed-off-by: Kees Cook <>
> Acked-by: Arnd Bergmann <>
> ---
> Paul suggested this go via netdev directly:

Applied, thanks Kees.

      reply	other threads:[~2018-08-03 19:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-03 16:37 Kees Cook
2018-08-03 19:55 ` David Miller [this message]

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:

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

  git send-email \ \ \ \ \ \ \ \
    --subject='Re: [PATCH net-next] ppp: mppe: Remove VLA usage' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).