l4p/udp: enqueue fragmented packets as a whole 98/20398/2
authorJielong Zhou <jielong.zjl@antfin.com>
Fri, 28 Jun 2019 07:04:00 +0000 (15:04 +0800)
committerKonstantin Ananyev <konstantin.ananyev@intel.com>
Tue, 2 Jul 2019 08:06:37 +0000 (08:06 +0000)
commit3fbc22a6729f577e03a5be527671a3d7ac11ef25
tree105fd343d0e033bfa14e4758dde8e0c9a28244fc
parentc5f8f7f0e970b5e552268addf73efb549c1bb260
l4p/udp: enqueue fragmented packets as a whole

Send or discard fragments of single IP/UDP packet as a whole, because part
of fragments could not be reassembled. Also avoid mbuf leak, for former
version would never free part of segments which are not sended.

Change-Id: I8cd13e60ced973a8f5d7d24369c3cbee64a38836
Signed-off-by: Jielong Zhou <jielong.zjl@antfin.com>
lib/libtle_l4p/udp_rxtx.c