pg: udp length & checsum issue 30/15230/3
authorKingwel Xie <kingwel.xie@ericsson.com>
Thu, 11 Oct 2018 00:51:59 +0000 (20:51 -0400)
committerDamjan Marion <dmarion@me.com>
Tue, 23 Oct 2018 13:20:48 +0000 (13:20 +0000)
commitfc3b8b8ad08d2d4cc375149ecdc10c37d4a80940
tree7ddb14c5dce315c6f726c857e7a9c2a0368e280c
parent0a554c773bc287721d1100db4725c373b7640c67
pg: udp length & checsum issue

if udp length is specified, then use this length to calculate udp checksum
otherwise, use length from vlib_buffer

Change-Id: I5304a60d5d429993d0524b864b65ec503775412d
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
src/vnet/udp/udp_pg.c