On Sat, Feb 13, 2021 at 9:52 AM Taehee Yoo <ap420...@gmail.com> wrote: > > The goal of mc_delrec_work delayed work is to call mld_clear_delrec(). > The mld_clear_delrec() is called under both data path and control path. > So, the context of mld_clear_delrec() can be atomic. > But this function accesses struct ifmcaddr6 and struct ip6_sf_list. > These structures are going to be protected by RTNL. > So, this function should be called in a sleepable context.
Hmm, but with this patch mld_clear_delrec() is called asynchronously without waiting, is this a problem? If not, please explain why in your changelog. By the way, if you do not use a delay, you can just use regular work. Thanks.