]> git.proxmox.com Git - ovs.git/commit
ovn-northd: Always allocate ipam_info for an ovn_datapath.
authorBen Pfaff <blp@ovn.org>
Mon, 18 Jun 2018 18:45:23 +0000 (11:45 -0700)
committerBen Pfaff <blp@ovn.org>
Mon, 18 Jun 2018 19:56:48 +0000 (12:56 -0700)
commit174b053510a941cfe2a26086d12cafec23664153
tree387ca150d4e4e1cef7b731676b0b1d043fce859c
parent9a0ac025de9303334688ff08f01fc08604d2f624
ovn-northd: Always allocate ipam_info for an ovn_datapath.

Until now, the ipam_info struct for a datapath has been allocated on
demand.  This leads to slightly complication in the code in places, and
there is hardly any benefit since ipam_info is only about 48 bytes anyway.
This commit just inlines it into struct ovn_datapath.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Mark Michelson <mmichels@redhat.com>
ovn/northd/ovn-northd.c