From: Mahesh Bandewar <[email protected]> Date: Fri, 13 Jan 2017 15:48:30 -0800
> From: Mahesh Bandewar <[email protected]> > > In the last patch da36e13cf65 ("ipvlan: improvise dev_id generation > logic in IPvlan") I missed some part of Dave's suggestion and because > of that the dev_id creation could fail in a corner case scenario. This > would happen when more or less 64k devices have been already created and > several have been deleted. If the devices that are still sticking around > are the last n bits from the bitmap. So in this scenario even if lower > bits are available, the dev_id search is so narrow that it always fails. > > Fixes: da36e13cf65 ("ipvlan: improvise dev_id generation logic in IPvlan") > CC: David Miller <[email protected]> > CC: Eric Dumazet <[email protected]> > Signed-off-by: Mahesh Bandewar <[email protected]> Applied, thanks.
