Re: [PATCH] tc: fix batch force option

2018-06-20 Thread Stephen Hemminger
On Wed, 20 Jun 2018 10:24:21 +0300 Vlad Buslov wrote: > When sending accumulated compound command results an error, check 'force' > option before exiting. Move return code check after putting batch bufs and > freeing iovs to prevent memory leak. Break from loop, instead of returning > error code

[PATCH] tc: fix batch force option

2018-06-20 Thread Vlad Buslov
When sending accumulated compound command results an error, check 'force' option before exiting. Move return code check after putting batch bufs and freeing iovs to prevent memory leak. Break from loop, instead of returning error code to allow cleanup at the end of batch function. Don't reset ret c