summaryrefslogtreecommitdiff
path: root/include/net/lag.h
diff options
context:
space:
mode:
authorDennis Zhou <dennis@kernel.org>2019-02-22 02:50:19 +0300
committerDennis Zhou <dennis@kernel.org>2019-03-13 22:25:31 +0300
commit8e5a2b9893f36457582596fdade10f6feb2797ee (patch)
treecf056a83bf1bc9c2d2264491486920c481b50f82 /include/net/lag.h
parentfa3d493f7a573b4e4e2538486e912093a0161c1b (diff)
downloadlinux-8e5a2b9893f36457582596fdade10f6feb2797ee.tar.xz
percpu: update free path with correct new free region
When updating the chunk's contig_hint on the free path of a hint that does not touch the page boundaries, it was incorrectly using the starting offset of the free region and the block's contig_hint. This could lead to incorrect assumptions about fit given a size and better alignment of the start. Fix this by using (end - start) as this is only called when updating a hint within a block. Signed-off-by: Dennis Zhou <dennis@kernel.org> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/net/lag.h')
0 files changed, 0 insertions, 0 deletions