commit e866729fec6315bb4d62ccc2c3e891f4566644fa
Author: Yi Yang <email address hidden>
Date: Mon Jun 4 14:04:09 2018 +0800
Fix a segment fault error for DPDK 17.02
I found a segment fault error when I use DPDK 17.02 branch, here is
segment fault information:
Program terminated with signal SIGSEGV, Segmentation fault.
702 __builtin_ia32_storedqu ((char *)__P, (__v16qi)__B);
(gdb) bt
at build/production/vrouter/dpdk/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:820
at build/production/vrouter/dpdk/x86_64-native-linuxapp-gcc/include/rte_memcpy.h:896
at vrouter/dpdk/vr_dpdk_host.c:793
at vrouter/dp-core/vr_proto_ip.c:373
(gdb)
We encountered it in DPDK 17.11 branch, the issue is rte_mbuf can't be freed
if it is copied or cloned from another rtm_mbuf with IND_ATTACHED_MBUF flag,
it will result in very weird issues.
Change-Id: Iae6d229488225a97ef2f96c52db1dbcaaa32b51a
Closes-Bug: #1774903
Signed-off-by: Yi Yang <email address hidden>
Reviewed: https:/ /review. opencontrail. org/43488 github. com/Juniper/ contrail- vrouter/ commit/ e866729fec6315b b4d62ccc2c3e891 f4566644fa
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master
commit e866729fec6315b b4d62ccc2c3e891 f4566644fa
Author: Yi Yang <email address hidden>
Date: Mon Jun 4 14:04:09 2018 +0800
Fix a segment fault error for DPDK 17.02
I found a segment fault error when I use DPDK 17.02 branch, here is
segment fault information:
Program terminated with signal SIGSEGV, Segmentation fault. ia32_storedqu ((char *)__P, (__v16qi)__B); n/vrouter/ dpdk/x86_ 64-native- linuxapp- gcc/include/ rte_memcpy. h:820 n/vrouter/ dpdk/x86_ 64-native- linuxapp- gcc/include/ rte_memcpy. h:896 dpdk/vr_ dpdk_host. c:793 dp-core/ vr_proto_ ip.c:373
702 __builtin_
(gdb) bt
at build/productio
at build/productio
at vrouter/
at vrouter/
(gdb)
We encountered it in DPDK 17.11 branch, the issue is rte_mbuf can't be freed
if it is copied or cloned from another rtm_mbuf with IND_ATTACHED_MBUF flag,
it will result in very weird issues.
Change-Id: Iae6d229488225a 97ef2f96c52db1d bcaaa32b51a
Closes-Bug: #1774903
Signed-off-by: Yi Yang <email address hidden>