Fix the ip header offset counting in vnet/ipsec 23/11223/2
authorSzymon Sliwa <szs@semihalf.com>
Mon, 19 Mar 2018 15:14:31 +0000 (15:14 +0000)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 18 Apr 2018 05:18:30 +0000 (05:18 +0000)
commit8640dbdb7292d8d206aab3a90551d93798c9c50c
tree4d78aa516c758e462579c3d0131135aa172754f0
parent07a38572caa2c2d2d8658420a7c3df8e7f9d0e74
Fix the ip header offset counting in vnet/ipsec

IP header is set as data + sizeof(ethernet_header_t),
what does not need to be true. The solution is to use
l3_hdr_offset.

Change-Id: I5d9f41599ba8d8eb14ce2d9d523f82ea6e0fd10d
Signed-off-by: Szymon Sliwa <szs@semihalf.com>
src/vnet/ipsec/esp_decrypt.c