mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jose Abreu <jose.abreu@synopsys.com>
To: Aaro Koskinen <aaro.koskinen@iki.fi>,
	"David S. Miller" <davem@davemloft.net>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>,
	Alexandre Torgue <alexandre.torgue@st.com>,
	Jose Abreu <jose.abreu@synopsys.com>, <netdev@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Cc: Aaro Koskinen <aaro.koskinen@nokia.com>
Subject: Re: [PATCH] net: stmmac: fix memory corruption with large MTUs
Date: Tue, 19 Mar 2019 10:36:19 +0000	[thread overview]
Message-ID: <92e465e5-0c77-e22f-d7e1-4689f3d655e7@synopsys.com> (raw)
In-Reply-To: <20190318213608.612-1-aaro.koskinen@iki.fi>

On 3/18/2019 9:36 PM, Aaro Koskinen wrote:
>  	/* Fill DES3 in case of RING mode */
> -	if (priv->dma_buf_sz >= BUF_SIZE_8KiB)
> +	if (priv->dma_buf_sz == BUF_SIZE_16KiB)

Shouldn't this be: "if (priv->dma_buf_sz > BUF_SIZE_8KiB)" ?

Thanks,
Jose Miguel Abreu

  reply	other threads:[~2019-03-19 10:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-18 21:36 Aaro Koskinen
2019-03-19 10:36 ` Jose Abreu [this message]
2019-03-19 11:07   ` Koskinen, Aaro (Nokia - FI/Espoo)
2019-03-19 14:42     ` Jose Abreu
2019-03-19 20:33 ` David Miller

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=92e465e5-0c77-e22f-d7e1-4689f3d655e7@synopsys.com \
    --to=jose.abreu@synopsys.com \
    --cc=aaro.koskinen@iki.fi \
    --cc=aaro.koskinen@nokia.com \
    --cc=alexandre.torgue@st.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.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

all inboxes | Powered by JetHome®