commit | 3197ce220c821b869731872251f2e225c37cbbb0 | [log] [tgz] |
---|---|---|
author | Mitch Williams <mitch.a.williams@intel.com> | Thu Nov 28 06:39:39 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Mon Jan 06 02:32:26 2014 -0800 |
tree | 1abee371dd5ede7eadd93037168a14eb79a98967 | |
parent | 5a9769c827151def466f7e65619bc6aac643cf96 [diff] |
i40e: don't allocate zero size Shockingly, the compiler didn't flag this uninitialized variable. This fixes a potential memory corruption condition where ARQ messages are written to random memory locations. Change-Id: Iac82f4562d2bf3f42df3f3b2163d9cbed2160135 Signed-off-by: Mitch Williams <mitch.a.williams@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Tested-by: Sibai Li <sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>