Re: [PATCH net v3 4/4] ip6mr: Lock RCU before ip6mr_get_table() call in ip6mr_get_route()
From: Eric Dumazet
Date: Thu Oct 10 2024 - 05:33:53 EST
On Thu, Oct 10, 2024 at 11:12 AM Stefan Wiehler
<stefan.wiehler@xxxxxxxxx> wrote:
>
> When IPV6_MROUTE_MULTIPLE_TABLES is enabled, calls to ip6mr_get_table()
> must be done under RCU or RTNL lock.
>
> Signed-off-by: Stefan Wiehler <stefan.wiehler@xxxxxxxxx>
> Fixes: d1db275dd3f6 ("ipv6: ip6mr: support multiple tables")
> ---
Please send a cover letter in your next version.
Please add a 5th patch in the series reverting
commit b6dd5acde3f165e364881c36de942c5b252e2a27
Author: Madhuparna Bhowmik <madhuparnabhowmik10@xxxxxxxxx>
Date: Sat May 16 13:15:15 2020 +0530
ipv6: Fix suspicious RCU usage warning in ip6mr
This way, tests will detect more easily if something is wrong.
Thank you.