flow: fix several crash issues 81/23681/4
authorChenmin Sun <[email protected]>
Thu, 21 Nov 2019 21:33:40 +0000 (05:33 +0800)
committerAndrew Yourtchenko <[email protected]>
Wed, 12 Aug 2020 07:43:03 +0000 (07:43 +0000)
commitcb3edd53e8ba606245c9965a374f7719d4367a60
tree7feeb5b3b1cb5820f497c7b10031c29b61753f66
parentcd3a7c96464aca67ab45117db740d56b091666ff
flow: fix several crash issues

Type: fix

This patch fixes crash issues(marked in brackets) in the below test cases

test flow enable index 0 1/1 -> [crash]
test flow disable index 0 1/1 -> [crash]

test flow add src-ip 192.168.8.8 proto udp redirect-to-queue 8
test flow enable index 0 1/1
test flow disable index 0 1/1 - [crash]

test flow add src-ip 192.168.8.8 proto udp redirect-to-queue 8
test flow enable index 0 1/1
test flow enable index 0 1/2
test flow del index 0 -> [crash]

Signed-off-by: Chenmin Sun <[email protected]>
Change-Id: I84bc6faa3d93a2cab4c82e8a876a8b1067257b62
(cherry picked from commit be2ad0b4743ed8a3875a5b6039c10c66eb07614c)
MAINTAINERS
src/plugins/dpdk/device/flow.c
src/vnet/flow/flow.c