[dpdk-dev] [PATCH v3 1/2] enic: fix seg fault when releasing queues

2016-06-10 Thread Bruce Richardson
On Thu, Jun 09, 2016 at 11:56:08AM -0700, John Daley wrote: > If device configuration failed due to a lack of resources, such as > if more queues are requested than are available, the queue release > function is called with NULL pointers which were being dereferenced. > > Skip releasing queues if

[dpdk-dev] [PATCH v3 1/2] enic: fix seg fault when releasing queues

2016-06-09 Thread John Daley
If device configuration failed due to a lack of resources, such as if more queues are requested than are available, the queue release function is called with NULL pointers which were being dereferenced. Skip releasing queues if they are NULL pointers. Fixes: fefed3d1e62c ("enic: new driver")