lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181022.194655.1292491813660625818.davem@davemloft.net>
Date:   Mon, 22 Oct 2018 19:46:55 -0700 (PDT)
From:   David Miller <davem@...emloft.net>
To:     ogerlitz@...lanox.com
Cc:     saeedm@...lanox.com, netdev@...r.kernel.org,
        dan.carpenter@...cle.com
Subject: Re: [PATCH] net/mlx5: Allocate enough space for the FDB
 sub-namespaces

From: Or Gerlitz <ogerlitz@...lanox.com>
Date: Sun, 21 Oct 2018 14:05:49 +0300

> From: Dan Carpenter <dan.carpenter@...cle.com>
> 
> FDB_MAX_CHAIN is three.  We wanted to allocate enough memory to hold four
> structs but there are missing parentheses so we only allocate enough
> memory for three structs and the first byte of the fourth one.
> 
> Fixes: 328edb499f99 ("net/mlx5: Split FDB fast path prio to multiple namespaces")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
> Reviewed-by: Or Gerlitz <ogerlitz@...lanox.com>

Applied to net-next.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ