diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2015-10-03 17:13:05 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-07 04:13:50 -0700 |
commit | 90d2c056bd85bbb47104c52e08eecf8408163a54 (patch) | |
tree | 1eea4dd5e2f5c503d746bb01981639f4452ba22f /net/ipv6/xfrm6_policy.c | |
parent | amd-xgbe: Check for successful buffer allocation before use (diff) | |
download | linux-dev-90d2c056bd85bbb47104c52e08eecf8408163a54.tar.xz linux-dev-90d2c056bd85bbb47104c52e08eecf8408163a54.zip |
i40e/i40evf: set AQ count after memory allocation
The standard way to check if the AQ is enabled is to look at the
count field. So we should only set this field after we have
successfully allocated memory. To do otherwise is to incite
panic among the populace.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_policy.c')
0 files changed, 0 insertions, 0 deletions