pg: incrementing len should be truncated by 76/15576/2
authorKingwel Xie <kingwel.xie@ericsson.com>
Sat, 27 Oct 2018 03:55:47 +0000 (23:55 -0400)
committerDamjan Marion <dmarion@me.com>
Sat, 27 Oct 2018 09:14:30 +0000 (09:14 +0000)
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>

No differences found