aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cisco/enic/vnic_rq.c
diff options
context:
space:
mode:
authorGovindarajulu Varadarajan <_govind@gmx.com>2015-06-11 11:52:55 +0530
committerDavid S. Miller <davem@davemloft.net>2015-06-10 23:42:39 -0700
commit19b596bda1c5400808635fde0d521c1f89a6c1a3 (patch)
tree5484ba980423c60c8f684cc681d9c76883fe11ff /drivers/net/ethernet/cisco/enic/vnic_rq.c
parentenic: unlock napi busy poll before unmasking intr (diff)
downloadlinux-dev-19b596bda1c5400808635fde0d521c1f89a6c1a3.tar.xz
linux-dev-19b596bda1c5400808635fde0d521c1f89a6c1a3.zip
enic: check return value for stat dump
We do not check the return value of enic_dev_stats_dump(). If allocation fails, we will hit NULL pointer reference. Return only if memory allocation fails. For other failures, we return the previously recorded values. Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cisco/enic/vnic_rq.c')
0 files changed, 0 insertions, 0 deletions