Jakub Kicinski
2020-Sep-06 21:01 UTC
[Bridge] [PATCH net-next v3 06/15] net: bridge: mcast: add support for group query retransmit
On Sat, 5 Sep 2020 11:24:01 +0300 Nikolay Aleksandrov wrote:> We need to be able to retransmit group-specific and group-and-source > specific queries. The new timer takes care of those.What guarantees that timer will not use pg after free? Do timer callbacks hold the RCU read lock?
Nikolay Aleksandrov
2020-Sep-06 21:14 UTC
[Bridge] [PATCH net-next v3 06/15] net: bridge: mcast: add support for group query retransmit
On 9/7/20 12:01 AM, Jakub Kicinski wrote:> On Sat, 5 Sep 2020 11:24:01 +0300 Nikolay Aleksandrov wrote: >> We need to be able to retransmit group-specific and group-and-source >> specific queries. The new timer takes care of those. > > What guarantees that timer will not use pg after free? Do timer > callbacks hold the RCU read lock? >See the last patch, it guarantees no entry timer will be used when it's freed.