mbox series

[v2,0/2] net/ixgbe fix unchecked return value and rte_panic

Message ID 20201020100248.761693-1-conor.walsh@intel.com (mailing list archive)
Headers
Series net/ixgbe fix unchecked return value and rte_panic |

Message

Conor Walsh Oct. 20, 2020, 10:02 a.m. UTC
  This patchset resolves a coverity issue where the return value of
rte_eth_switch_domain_alloc() was not being checked and also removes
a use of rte_panic within ixgbe_pf_host_init().

---

v2: eth_dev->data->mac_addrs and eth_dev->data->hash_mac_addrs will now
be free'd if ixgbe_pf_host_init() fails in eth_ixgbe_dev_init()

Conor Walsh (2):
  net/ixgbe: fix unchecked return value
  net/ixgbe: remove rte_panic

 drivers/net/ixgbe/ixgbe_ethdev.c | 11 +++++++++--
 drivers/net/ixgbe/ixgbe_ethdev.h |  2 +-
 drivers/net/ixgbe/ixgbe_pf.c     | 23 ++++++++++++++++++-----
 3 files changed, 28 insertions(+), 8 deletions(-)