aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/l2tp/l2tp.api
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-10-23 13:28:37 -0700
committersteven luong <sluong@cisco.com>2019-10-25 16:54:06 +0000
commite6329ada4401f4a7e418a48fe829bbc211e28b6f (patch)
tree25bc07cfe38845d1fe267c26f22a853b99c12f52 /src/vnet/l2tp/l2tp.api
parent9ad27550b54ee65648487b6405bb61925ccd3397 (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/l2tp/l2tp.api')
0 files changed, 0 insertions, 0 deletions