IPIP and IPv6 fragmentation 84/14984/6
authorOle Troan <ot@cisco.com>
Wed, 19 Sep 2018 10:38:51 +0000 (12:38 +0200)
committerNeale Ranns <nranns@cisco.com>
Thu, 27 Sep 2018 08:47:40 +0000 (08:47 +0000)
commit282093f1fe783b5d36a014d4495995cd64e2e3fb
tree09e6536da14c262d33991383e408b2c35d361b4a
parente23edac38ec239115689fe252b4b41a3556f6280
IPIP and IPv6 fragmentation

- Error where ICMPv6 error code doesn't reset VLIB_TX = -1
  Leading to crash for ICMP generated on tunnelled packets
- Missed setting VNET_BUFFER_F_LOCALLY_ORIGINATED, so
  IP in IPv6 packets never got fragmented.
- Add support for fragmentation of buffer chains.
- Remove support for inner fragmentation in frag code itself.

Change-Id: If9a97301b7e35ca97ffa5c0fada2b9e7e7dbfb27
Signed-off-by: Ole Troan <ot@cisco.com>
17 files changed:
src/plugins/map/ip4_map.c
src/plugins/map/ip4_map_t.c
src/plugins/map/ip6_map.c
src/plugins/map/ip6_map_t.c
src/vnet/buffer.h
src/vnet/ip/icmp6.c
src/vnet/ip/ip4_forward.c
src/vnet/ip/ip6_forward.c
src/vnet/ip/ip_frag.c
src/vnet/ip/ip_frag.h
src/vnet/ipip/ipip.c
src/vnet/ipip/node.c
src/vpp-api/python/vpp_papi/vpp_stats.py
test/patches/scapy-2.4/defragment.patch [new file with mode: 0644]
test/test_ipip.py
test/test_mpls.py
test/test_mtu.py