lkml.org 
[lkml]   [2019]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: stmmac: fix memory corruption with large MTUs
From
Date
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

\
 
 \ /
  Last update: 2019-03-19 11:38    [W:0.057 / U:1.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site