ip_frag: ensure minimum v4 fragmentation length
authorAaron Conole <aconole@redhat.com>
Mon, 20 Apr 2020 19:25:21 +0000 (15:25 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 25 Apr 2020 13:15:23 +0000 (15:15 +0200)
commitc2cad3f6bcca25ae860de970a0da8b271da1fd13
treed183c344f94e6d02de73d47d58f0bffa8e227ac3
parent269e1d04a15daa0741454524270e4ab97092e26f
ip_frag: ensure minimum v4 fragmentation length

Do a formal parameter check of mtu length, as well as
checking the the various inputs for validity.  If any
aren't acceptable, we bail.

Signed-off-by: Aaron Conole <aconole@redhat.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Lukasz Wojciechowski <l.wojciechow@partner.samsung.com>
lib/librte_ip_frag/rte_ipv4_fragmentation.c