summaryrefslogtreecommitdiffstats
path: root/src/vnet/lisp-cp/packets.c
diff options
context:
space:
mode:
authorPierre Pfister <ppfister@cisco.com>2017-04-20 15:34:00 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2017-05-17 12:02:17 +0000
commitc4352553ee5a824c1c143c330e69b1ec063b4377 (patch)
tree5ea0426b5e310e2bf2e305c50db9631df61c0a19 /src/vnet/lisp-cp/packets.c
parent1985c93bd728db22c946e05691f21a2f9774e458 (diff)
vhost: Fix mmap size calculation
I had a bug where a requested size of 1G was resulting in an aligned size of '1G + 2M', resulting in an OOM error. Previous code was adding one huge page size when memory is already aligned. Change-Id: Idd3aa0e9b893fb3efccba6ae1c7161e26d3f9456 Signed-off-by: Pierre Pfister <ppfister@cisco.com>
Diffstat (limited to 'src/vnet/lisp-cp/packets.c')
0 files changed, 0 insertions, 0 deletions