gso: fix l3 and l4 header offset in case of tagged interface 69/21369/2
authorMohsin Kazmi <[email protected]>
Mon, 29 Jul 2019 09:39:26 +0000 (11:39 +0200)
committerAndrew Yourtchenko <[email protected]>
Mon, 19 Aug 2019 08:39:57 +0000 (08:39 +0000)
commit6bde1f4cd1ec703e04e880118d440a1c8d49b8f4
treeaa82329412790b25039704332942aadda3f74d8f
parent859c6a5d01a996ee64d44feadf077424bb1889f9
gso: fix l3 and l4 header offset in case of tagged interface

previously, PG and virtio interfaces calculate wrong l3 and l4
header offset. This patch fixes this issue.

Type: fix
Ticket: VPP-1739

Change-Id: I5ba978e464babeb65e0711e1027320d46b3b9932
Signed-off-by: Mohsin Kazmi <[email protected]>
(cherry picked from commit 14bea1bb6505c0134dd5d2a18bcc436ce72cd149)
src/vnet/devices/virtio/node.c
src/vnet/pg/input.c