Re: [net 1/6] ixgbevf: ensure xdp_ring resources are free'd on error exit

2018-04-25 Thread Sergei Shtylyov
Hello! On 4/24/2018 10:29 PM, Jeff Kirsher wrote: From: Colin Ian King The current error handling for failed resource setup for xdp_ring data is a break out of the loop and returning 0 indicated everything was OK, when in fact it is not. Fix this by exiting via the error exit label err_setup

[net 1/6] ixgbevf: ensure xdp_ring resources are free'd on error exit

2018-04-24 Thread Jeff Kirsher
From: Colin Ian King The current error handling for failed resource setup for xdp_ring data is a break out of the loop and returning 0 indicated everything was OK, when in fact it is not. Fix this by exiting via the error exit label err_setup_tx that will clean up the resources correctly and ret