]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/dpdk: Fix infinite loop when sending packets
authorChunsong Feng <fengchunsong@huawei.com>
Sat, 11 Jan 2020 04:54:40 +0000 (12:54 +0800)
committerluo rixin <luorixin@huawei.com>
Fri, 17 Jan 2020 03:55:51 +0000 (11:55 +0800)
commiteea0b39fce532d96149e90c8c9b2e74ee064f25a
tree39b90148930a32c99b1d48b2a0e5434e7d0e1278
parent1c7742d141c60771775a696ff5fe828ce821365e
msg/async/dpdk: Fix infinite loop when sending packets

tx_pkt_burst loops until the next pointer is null, set next pointer of
the last segment nullptr to fix this issue.

Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luo rixin <luorixin@huawei.com>
src/msg/async/dpdk/DPDK.cc