dpdk: fix crash due to incorrect xd->flags value with slave's link toggling 64/11464/2
authorSteve Shin <jonshin@cisco.com>
Fri, 30 Mar 2018 07:40:40 +0000 (00:40 -0700)
committerJohn Lo <loj@cisco.com>
Fri, 30 Mar 2018 13:33:40 +0000 (13:33 +0000)
commitc1613a72a7ef5443319a868879804bb53714068d
treeec9c14f32999b3ab4fd6962d9a57afe7970111b4
parent30684ac044bbb8e11ef100a24c01eb37ba7a8876
dpdk: fix crash due to incorrect xd->flags value with slave's link toggling

xd->flags is set incorrectly when a slave link is down in bonded interface mode.
This can result in VPP crash when data traffic flows to the interface.

Change-Id: Ideb9f5231db1211e8452c52fde646d681310c951
Signed-off-by: Steve Shin <jonshin@cisco.com>
src/plugins/dpdk/device/common.c