summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/unix_error.def
diff options
context:
space:
mode:
authorYichen Wang <yicwang@cisco.com>2018-08-28 23:05:27 -0700
committerDamjan Marion <dmarion@me.com>2018-09-02 11:36:31 +0000
commit6b4b20318b4c96a79a79e5057c4ba77813050d7c (patch)
treed05a994fae0cd9fd7ba09da889b0d16b120dcbc8 /src/vppinfra/unix_error.def
parent2a12fb231b5a544f29a6ddd139c6a264beeee330 (diff)
vhost: Fix VPP crash when reloading VM with mixed-type ports [VPP-1406]
When VM is having mixed type of vhost-user and SRIOV ports, QEMU (RedHat v2.10) will not send disconnect signal to VPP, and just gives the new memory region directly. VPP is not able to handle new memory region mapping without disconnect signal first, which will result in a SEGV. The fix will handle the VM reboot scenario without explict disconnect signal from QEMU. The fix is to invalidate the avail, desc, and used pointers in the txvq when the new memory regions are received. This is because these pointers are not valid anymore with the new memory regions. In the input node, check to make sure the avail pointer is valid and punt if not. Change-Id: Ieb8b427b202f4442a58907dab1661d63a03650de Signed-off-by: Yichen Wang <yicwang@cisco.com>
Diffstat (limited to 'src/vppinfra/unix_error.def')
0 files changed, 0 insertions, 0 deletions