mpls: Fix the fragmentation in mpls-output. 34/35434/3
authorNeale Ranns <neale@graphiant.com>
Thu, 24 Feb 2022 10:30:12 +0000 (10:30 +0000)
committerBeno�t Ganne <bganne@cisco.com>
Fri, 4 Mar 2022 14:38:27 +0000 (14:38 +0000)
commitc396d2395a98f9966501316351619b19da5bc548
treed8e6ae49162c4c992cafeaeaaf20b935d7f3c5d9
parent0a3160b698baa8a65edefbec90a2c748381d1ae4
mpls: Fix the fragmentation in mpls-output.

Type: fix

the MTU needs to be adjusted to account for the label stack, since the size of fragments produced is stack+mtu.
these changes are to the use of the stack variable 'mtu'

most of the patch results from appeasing checkstyle.

Signed-off-by: Neale Ranns <neale@graphiant.com>
Change-Id: I8d0e10cf52ca4dd8ecdc224ed6c54a13e4768fdd
src/vnet/mpls/mpls_output.c