commit | 7347aefbccb47ce2d076d8ac7dff2cdd1435974c | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Wed Apr 23 23:30:59 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 23 23:30:59 2008 -0700 |
tree | 1099122c0fd687ada9a9d0d20949a6df58a2c971 | |
parent | 807501475fce0ebe68baedf87f202c3e4ee0d12c [diff] |
[LMB]: Fix lmb allocation regression. Changeset d9024df02ffe74d723d97d552f86de3b34beb8cc ("[LMB] Restructure allocation loops to avoid unsigned underflow") removed the alignment of the 'size' argument to call lmb_add_region() done by __lmb_alloc_base(). In doing so it reintroduced the bug fixed by changeset eea89e13a9c61d3928223d2f9bf2295e22e0efb6 ("[LMB]: Fix bug in __lmb_alloc_base()."). This puts it back. Signed-off-by: David S. Miller <davem@davemloft.net>