[dpdk-dev] [PATCH v2] enic: fix seg fault when releasing queues

2016-06-09 Thread Bruce Richardson
On Wed, May 25, 2016 at 07:45:00PM -0700, John Daley wrote: > If device configuration failed due to a lack of resources, like if > there were more queues requested than available, the queue release > function is called with NULL pointers which were being dereferenced. > > Skip releasing queues if

[dpdk-dev] [PATCH v2] enic: fix seg fault when releasing queues

2016-05-25 Thread John Daley
If device configuration failed due to a lack of resources, like if there were more queues requested than available, the queue release function is called with NULL pointers which were being dereferenced. Skip releasing queues if they are NULL pointers. Also, if configuration fails due to lack of re