]> git.baikalelectronics.ru Git - kernel.git/commit
idr: Fix idr_get_next_ul race with idr_remove
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 2 Nov 2019 01:36:39 +0000 (21:36 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Sat, 2 Nov 2019 02:26:34 +0000 (22:26 -0400)
commita3c4a825ba306d5446bbe36264d4c17d876c4e3e
treecb2bf8f5d805d99450ce514de25bc31729b00c16
parent859e05338b1e4b8015d7e1fe4fa0f99bb6bd901f
idr: Fix idr_get_next_ul race with idr_remove

Commit c0c4e801731e ("idr: Fix idr_get_next race with idr_remove")
neglected to fix idr_get_next_ul().  As far as I can tell, nobody's
actually using this interface under the RCU read lock, but fix it now
before anybody decides to use it.

Fixes: c0c4e801731e ("idr: Fix idr_get_next race with idr_remove")
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
lib/idr.c