From: Alexei Starovoitov Date: Fri, 8 Nov 2024 19:40:16 +0000 (-0800) Subject: Merge branch 'fix-lockdep-warning-for-htab-of-map' X-Git-Tag: v6.13-rc1~136^2~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266a557981ab3b0a8f292e9a5bdcd242424ff458;p=thirdparty%2Fkernel%2Fstable.git Merge branch 'fix-lockdep-warning-for-htab-of-map' Hou Tao says: ==================== The patch set fixes a lockdep warning for htab of map. The warning is found when running test_maps. The warning occurs when htab_put_fd_value() attempts to acquire map_idr_lock to free the map id of the inner map while already holding the bucket lock (raw_spinlock_t). The fix moves the invocation of free_htab_elem() after htab_unlock_bucket() and adds a test case to verify the solution. ==================== Acked-by: Sebastian Andrzej Siewior Signed-off-by: Alexei Starovoitov Signed-off-by: Andrii Nakryiko --- 266a557981ab3b0a8f292e9a5bdcd242424ff458