From: Govindarajulu Varadarajan <_gov...@gmx.com>
Date: Thu, 11 Jun 2015 11:52:55 +0530
> 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
> previousl
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 <_gov...@gmx.com>
---
drivers/net/eth