diff options
author | Matthew Smith <mgsmith@netgate.com> | 2020-11-18 13:40:31 -0600 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2020-11-25 10:51:09 +0000 |
commit | 45d60492a425def70e2ee64de6c36327be429479 (patch) | |
tree | 7517c4e68cfebe82002c9ceaa87d33d2228e3f09 /src/plugins/ikev2/test/test_ikev2.py | |
parent | 3ef653aa886e6a07afba106b4f03c40e392e1307 (diff) |
dpdk: patch broken virtio macro
Type: fix
In DPDK 20.08, the macro ASSIGN_UNLESS_EQUAL(), which is defined in the
virtio PMD code, is broken. It does not actually set the variable that is
passed in to the value that is passed in. It just assigns the value
to a local variable that it declares. This results in
virtqueue_clear_net_hdr() failing to clear the fields in the virtio
net header. This can cause packets which were sent over an IPsec tunnel
and are subsequently transmitted on a virtio interface to have garbage
in the virtio net header.
Apply a post-20.08 patch from upstream to fix it.
Change-Id: Ic53e89d859db628e26a3c1988e53b626fede94d7
Signed-off-by: Matthew Smith <mgsmith@netgate.com>
Diffstat (limited to 'src/plugins/ikev2/test/test_ikev2.py')
0 files changed, 0 insertions, 0 deletions