Go to file
Jia Yu 6b2a47de07 net/bonding: fix buffer corruption in packets
When bond slave devices cannot transmit all packets in bufs array,
tx_burst callback shall merge the un-transmitted packets back to
bufs array. Recent merge logic introduced a bug which causes
invalid mbuf addresses being written to bufs array.
When caller frees the un-transmitted packets, due to invalid addresses,
application will crash.

The fix is avoid shifting mbufs, and directly write un-transmitted
packets back to bufs array.

Fixes: 09150784a7 ("net/bonding: burst mode hash calculation")
Cc: stable@dpdk.org

Signed-off-by: Jia Yu <jyu@vmware.com>
Acked-by: Chas Williams <chas3@att.com>
2018-08-28 15:27:39 +02:00
app ethdev: deprecate attach and detach functions 2018-08-06 00:52:21 +02:00
buildtools buildtools: change license to SPDX 2018-07-26 22:45:17 +02:00
config ethdev: change vtune profiling approach 2018-08-28 15:27:39 +02:00
devtools devtools: relax rule for identifying symbol section 2018-08-21 11:03:10 +02:00
doc ethdev: fix MAC changes when live change not supported 2018-08-28 15:27:39 +02:00
drivers net/bonding: fix buffer corruption in packets 2018-08-28 15:27:39 +02:00
examples examples/performance-thread: convert to SPDX tags 2018-08-09 22:32:04 +02:00
kernel kni: fix build on RHEL 7.5 2018-08-09 16:11:50 +02:00
lib ethdev: fix port ownership logs 2018-08-28 15:27:39 +02:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk common/mvep: add common code for Marvell drivers 2018-08-28 15:27:39 +02:00
pkg version: 18.08.0 2018-08-09 23:11:26 +02:00
test acl: forbid rule with priority zero 2018-09-16 11:53:25 +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 common/mvep: add common code for Marvell drivers 2018-08-28 15:27:39 +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.11-rc0 2018-08-13 12:42:46 +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