Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
409e7c9
commit 74bc8f2
Showing
5 changed files
with
26 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters