Skip to content
Snippets Groups Projects
Commit 7347aefb authored by David S. Miller's avatar David S. Miller
Browse files

[LMB]: Fix lmb allocation regression.


Changeset d9024df0 ("[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
eea89e13 ("[LMB]: Fix bug in
__lmb_alloc_base().").

This puts it back.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 80750147
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment