[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150610.234313.1832698141912758206.davem@davemloft.net>
Date: Wed, 10 Jun 2015 23:43:13 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: netdev@...r.kernel.org, ssujith@...co.com, benve@...co.com
Subject: Re: [PATCH net 2/3] enic: check return value for stat dump
From: Govindarajulu Varadarajan <_govind@....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
> previously recorded values.
>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists