diff options
author | Kingwel Xie <kingwel.xie@ericsson.com> | 2018-10-26 23:55:47 -0400 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-10-27 09:14:30 +0000 |
commit | 49cd3bad66cba83f0364d94ed34de2457694f545 (patch) | |
tree | 8b11fc08ffb8ad2d411df8d6578bfc3bd3a0e17f /src/vnet/vxlan-gbp/encap.c | |
parent | 4af47092eec97ce88f66174570cfc6a7baad4c6c (diff) |
pg: incrementing len should be truncated by
stream->max_packet_bytes
This length is the payload length, and will impact the ip length
when ip length is not specified. iplen = header_len + payload_len
SO, better to make it comply with max_packet_bytes
Change-Id: I8b0f7485e29fcaccae656f2d03b3b5e614300fb8
Signed-off-by: Kingwel Xie <kingwel.xie@ericsson.com>
Diffstat (limited to 'src/vnet/vxlan-gbp/encap.c')
0 files changed, 0 insertions, 0 deletions