Use (last-1) as the last address of allocation pool if no pool is specified. Without that, since we reserve both first and last address in the cidr, we end up creating a large bit array. This caused a timeout in case use specified a large cidr (e.g. 0/0).

Change-Id: Ic7e472a53d995eb7918385b6d7c04a12052d13b3
Merge "Use (last-1) as the last address of allocation pool if no pool is specified. Without that, since we reserve both first and last address in the cidr, we end up creating a large bit array. This caused a timeout in case use specified a large cidr (e.g. 0/0)."