Comment 5 for bug 1678704

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

Reviewed: https://review.opencontrail.org/30045
Committed: http://github.org/Juniper/contrail-vrouter/commit/a5fef9e555ec11f33daf18c1f6e773025ad8ef00
Submitter: Zuul (<email address hidden>)
Branch: master

commit a5fef9e555ec11f33daf18c1f6e773025ad8ef00
Author: Anand H. Krishnan <email address hidden>
Date: Mon Apr 3 10:49:08 2017 +0530

Allocate memory for the btable structure

In vr_btable_attach, for the btable metadata, we allocate memory
only for a pointer, while end up using that memory as a structure.
Hence, allocate memory for the whole structrure rather than for
the pointer to the structure.

Change-Id: Iccf2793a6c3bcac06aed9cfe2011e9364e1f9397
Closes-Bug: #1678704