mirror of
https://github.com/moby/moby.git
synced 2026-08-10 01:49:04 +00:00
With the introduction of GetIDInRange function in IDM and using it in ovmanager, the idm.New was modified to start from 1. But that causes issues when the network is removed which results in releasing the vxlan-id from IDM. With the offset of 1, the Release call incorrectly releases a bit which could be in use by another network and this results in the infamous "error creating vxlan interface: file exists" errors when another network is created with this freed bit. Signed-off-by: Madhu Venugopal <madhu@docker.com>