[ovs-dev] [PATCH] bitmap_allocate1() last unit set bug

Ben Pfaff blp at nicira.com
Mon Jul 8 21:18:23 UTC 2013


On Sat, Jun 29, 2013 at 11:43:16PM +0800, ZhengLingyun wrote:
> In function bitmap_allocate1(),
> the last "unsigned long" in bitmap will be set to all 0-bits when
> (n_bits % BITMAP_ULONG_BITS == 0),
> it actually should be set to all 1-bits.
> 
> Signed-off-by: ZhengLingyun <konghuarukhr at 163.com>

Applied to master, thanks.



More information about the dev mailing list