summaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.h
diff options
context:
space:
mode:
authorLiam Howlett <liam.howlett@oracle.com>2023-01-09 21:58:20 +0100
committerAndrew Morton <akpm@linux-foundation.org>2023-01-12 01:14:23 +0100
commitfd9edbdbdcde6b489ce59f326755ef16a2ffadd7 (patch)
tree49d2fcc6a95e3e519b02a53bfc613f1735fa67c0 /net/mac80211/rate.h
parentnommu: fix do_munmap() error path (diff)
downloadlinux-fd9edbdbdcde6b489ce59f326755ef16a2ffadd7.tar.xz
linux-fd9edbdbdcde6b489ce59f326755ef16a2ffadd7.zip
nommu: fix split_vma() map_count error
During the maple tree conversion of nommu, an error in counting the VMAs was introduced by counting the existing VMA again. The counting used to be decremented by one and incremented by two, but now it only increments by two. Fix the counting error by moving the increment outside the setup_vma_to_mm() function to the callers. Link: https://lkml.kernel.org/r/20230109205809.956325-1-Liam.Howlett@oracle.com Fixes: 8220543df148 ("nommu: remove uses of VMA linked list") Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Yu Zhao <yuzhao@google.com> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'net/mac80211/rate.h')
0 files changed, 0 insertions, 0 deletions