gre: fix outer ip6 length 21/27921/3
authorAloys Augustin <aloaugus@cisco.com>
Thu, 16 Jul 2020 09:01:01 +0000 (11:01 +0200)
committerBenoît Ganne <bganne@cisco.com>
Thu, 16 Jul 2020 11:25:08 +0000 (11:25 +0000)
commitcf86740a11650231bab4d14bc8d9288a91a22f16
tree7cb0529997c138e3467655029c22b69dfdbf63b0
parent94dbf952204e811c5ec7a39600c25f7b40387f45
gre: fix outer ip6 length

This updates the computation of the outer ip6 header payload_length
field in order to take into account the GRE header length.

Change-Id: Ie9f982521aeaef7279a9e329a33272d6fae0a428
Type: fix
Signed-off-by: Aloys Augustin <aloaugus@cisco.com>
src/vnet/gre/gre.c
test/test_gre.py