summaryrefslogtreecommitdiffstats
path: root/src/vnet/bier
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-10-23 13:28:37 -0700
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-29 10:01:02 +0000
commitabad677803bde8b8eed86a9ceecbc5f19d08e916 (patch)
tree1fba9cd2a2392504371701d6bc6d6673a2afc868 /src/vnet/bier
parentb4c5f16889bccfce31b6007d61e7f5670179f645 (diff)
devices: vhoost cpu->copy array overflow on tcp jumbo frame (65535 bytes)
We reserve 40 slots in cpu->copy array prior to copy out to avoid overflowing the array. However, 40 is not enough for the jumbo frame because desceiptor buffer len is likely at 1536. Change the reserve to 200 and add ASSERT to avoid encountering the same problem in the future. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: Ibf0c03c4b4f33e781d5be8679ccd6c3a4b4a646d (cherry picked from commit 7331005c16d0e1499080899b2a0676a0cd945595)
Diffstat (limited to 'src/vnet/bier')
0 files changed, 0 insertions, 0 deletions