Comment 4 for bug 1621816

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/24033
Committed: http://github.org/Juniper/contrail-vrouter/commit/74bc8f26ecfd99bad9dcb6948d038b5efe8dfa41
Submitter: Zuul
Branch: R3.0.2.x

commit 74bc8f26ecfd99bad9dcb6948d038b5efe8dfa41
Author: Anand H. Krishnan <email address hidden>
Date: Fri Sep 9 19:20:27 2016 +0530

Fix memory allocation for interface request

In order to pass per lcore queue input error statistics to the
application that does vif query, we allocate only VR_MAX_CPUS
worth of memory, but we try to copy vr_num_cpus worth of data.
In the case of vr_num_cpus > VR_MAX_CPUS (64), we will hit a snag.
As a fix, allocate memory for vr_num_cpus.

Change-Id: Ifb1060aac20011b8d51e1b31063a363fe268fd3d
Closes-Bug: #1621816