]> Git Repo - linux.git/commit
i40e: don't allocate zero size
authorMitch Williams <[email protected]>
Thu, 28 Nov 2013 06:39:39 +0000 (06:39 +0000)
committerJeff Kirsher <[email protected]>
Mon, 6 Jan 2014 10:32:26 +0000 (02:32 -0800)
commit3197ce220c821b869731872251f2e225c37cbbb0
tree1abee371dd5ede7eadd93037168a14eb79a98967
parent5a9769c827151def466f7e65619bc6aac643cf96
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 <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Tested-by: Sibai Li <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
drivers/net/ethernet/intel/i40e/i40e_main.c
This page took 0.05894 seconds and 4 git commands to generate.