Go to file
Ajit Khaparde 6621ae1461 net/bnxt: fix memory leaks in NVM commands
In some cases we may not be freeing up memory allocated for certain
NVM commands because the code might have bailed out before reaching
rte_free(). This patch moves some code around to ensure the allocated
memory is freed before exiting the function.

Fixes: 19e6af01bb ("net/bnxt: support get/set EEPROM")
Cc: stable@dpdk.org

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ray Jui <ray.jui@broadcom.com>
Reviewed-by: Michael Wildt <michael.wildt@broadcom.com>
Reviewed-by: Randy Schacher <stuart.schacher@broadcom.com>
2018-08-02 12:05:25 +02:00
app app/testpmd: fix DCB config 2018-08-01 16:36:04 +02:00
buildtools buildtools: change license to SPDX 2018-07-26 22:45:17 +02:00
config compress/octeontx: introduce octeontx zip PMD 2018-07-25 13:36:26 +02:00
devtools devtools: fix checkpatch with dash 2018-08-01 16:42:53 +02:00
doc net/enic: revert mbuf fast free offload 2018-08-02 10:26:02 +02:00
drivers net/bnxt: fix memory leaks in NVM commands 2018-08-02 12:05:25 +02:00
examples examples/l3fwd: remove useless include 2018-07-26 20:03:12 +02:00
kernel igb_uio: fix build with lock down checks 2018-07-11 18:49:21 +02:00
lib ethdev: decrease log level of ownership change 2018-08-02 09:00:18 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk mk: remove unnecessary test rules 2018-07-31 16:38:45 +02:00
pkg version: 18.05.0 2018-05-30 22:55:57 +02:00
test test: remove CRC offload for bonding slave 2018-08-01 16:36:04 +02:00
usertools usertools: add octeontx zip device for binding 2018-07-25 13:36:26 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add compression driver and ISA-L PMD guides 2018-05-10 17:46:20 +01:00
GNUmakefile move kernel modules directories 2018-03-21 23:04:21 +01:00
MAINTAINERS maintainers: update for szedata2 PMD 2018-07-26 16:11:51 +02:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
meson_options.txt net/mvpp2: add to meson build 2018-04-19 14:10:44 +02:00
meson.build version: 18.08-rc2 2018-07-26 23:59:06 +02:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org