diff options
author | Kingwel Xie <kingwel.xie@ericsson.com> | 2019-01-24 03:24:26 -0500 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-01-25 15:30:56 +0000 |
commit | 8eb102c28aacb6ebd935ac90a8fc6ec2c5585790 (patch) | |
tree | b44bcfa06bdc67975bdb69af7ca76ff3cfa480e2 /src/vlib/format.c | |
parent | 5c1f559b1bf32acd528664e7674a2d46f2aed947 (diff) |
pg: bugfix for pg paylod hdr-size
it was specified to 0 after https://gerrit.fd.io/r/16909
causes unformat_pg_ip4_header to wrongly set ip header len.
do more check when assigning e->lsb_bit_offset to avoid
negative value
Change-Id: Ib772c7135cdeb355f0d60f1ee11602f6b5a0ff21
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Diffstat (limited to 'src/vlib/format.c')
0 files changed, 0 insertions, 0 deletions