vmxnet3: better error handling 11/15211/2
authorSteven <sluong@cisco.com>
Wed, 10 Oct 2018 04:12:25 +0000 (21:12 -0700)
committerDamjan Marion <dmarion@me.com>
Wed, 10 Oct 2018 16:06:05 +0000 (16:06 +0000)
commit8b0995366110ff8c97d1d10aaa8291ad465b0b2f
tree5969bbb290c6cf3441d86dd00dd241086e253fde
parent40dd73bcfa7625773e1e0cc049134f9d7107bccc
vmxnet3: better error handling

try harder on output - if there is no descriptor space available, try to free
up some and check again.
make sure we free the buffer if error is encoutered on input.

Change-Id: I41a45213e29de71935afe707889e515037cd081f
Signed-off-by: Steven <sluong@cisco.com>
src/plugins/vmxnet3/input.c
src/plugins/vmxnet3/output.c