A little series of fixes caught by code review. I do not have all those hw and reaching those error branch is not an easy thing to do anyway, so please review carefully.
Thanks. -- David Marchand David Marchand (3): net/nfb: avoid memory leak on unplug net/bnx2x: fix invalid free on unplug drivers/net: fix double free on init failure cleanup drivers/net/ark/ark_ethdev.c | 6 +++--- drivers/net/axgbe/axgbe_ethdev.c | 1 + drivers/net/bnx2x/bnx2x_ethdev.c | 9 ++++++++- drivers/net/i40e/i40e_ethdev.c | 1 + drivers/net/ice/ice_ethdev.c | 1 + drivers/net/nfb/nfb_ethdev.c | 2 -- drivers/net/thunderx/nicvf_ethdev.c | 1 + 7 files changed, 15 insertions(+), 6 deletions(-) -- 1.8.3.1