ip: crash in ip_csum_fold due to illegal instruction shrx 52/34452/1
authorSteven Luong <sluong@cisco.com>
Wed, 10 Nov 2021 16:54:38 +0000 (08:54 -0800)
committerSteven Luong <sluong@cisco.com>
Wed, 10 Nov 2021 17:02:24 +0000 (09:02 -0800)
commit4d769c71a10bb99a1afc369e85d7d444e7b439f3
treefdabf78779e14c2704cc69bc4d191aba04990739
parent56f54af21d18f9fdd471b81db77a3942b0aa4d9c
ip: crash in ip_csum_fold due to illegal instruction shrx

Encounter a crash for the line
shrx   edi,eax,edi
in ip_csum_fold. The target cpu is ivy bridge which does not support
shrx instruction.

Type: fix
Fixes: e6709ff37dc0f3a58ed5ad98aace73fe801f1e9d

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: Icc922d3b2ebfcfa721f63946a213b6c492874a9a
src/vnet/ip/ip_packet.h [changed mode: 0644->0755]