summaryrefslogtreecommitdiffstats
path: root/src/vnet/mpls/node.c
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-01-28 15:31:19 +0000
committerNeale Ranns <nranns@cisco.com>2017-01-30 19:52:53 +0000
commit61459c9be0f620f738cf049b1b33e1a2d13dc9a6 (patch)
tree21932acc828c09e8b9b00ed1d8587d2b94a45224 /src/vnet/mpls/node.c
parentd03798c4eb860c30945c4ce881d2889a43ed4a93 (diff)
VPP-621: ping: ICMP echo data size must be bounded by VLIB_BUFFER_DATA_SIZE minus headers.
Before the commit 878c6098 the VLIB_BUFFER_DATA_SIZE was different depending on whether building "vpp" or "vpp_lite", resulting in an overrun in vpp_lite build. Avoid the hardcoded value and make the upper bound for ICMP echo data size dependent on the buffer size. Change-Id: Id6c4d7fc73766a95af2610eb237881b5fe9ce9aa Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/vnet/mpls/node.c')
0 files changed, 0 insertions, 0 deletions