Thread (6 messages) flat view 6 messages, 2 authors, 2015-06-11

Re: [PATCH net 2/3] enic: check return value for stat dump

From: David Miller <davem@davemloft.net>
Date: 2015-06-11 06:43:14

From: Govindarajulu Varadarajan <redacted>
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
previously recorded values.

Signed-off-by: Govindarajulu Varadarajan <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help