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

2016-06-13 Thread Bruce Richardson
On Sat, Jun 11, 2016 at 10:27:04AM -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 > functions are called with NULL pointers which were being dereferenced. > > Skip releasing queues i

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

2016-06-11 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 functions are called with NULL pointers which were being dereferenced. Skip releasing queues if they are NULL pointers. Fixes: fefed3d1e62c ("enic: new driver") Si