Re: [PATCH net v2 2/2] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-14 Thread David Miller
From: Amol Grover Date: Thu, 14 May 2020 23:31:03 +0530 > During the initialization process, ipmr_new_table() is called > to create new tables which in turn calls ipmr_get_table() which > traverses net->ipv4.mr_tables without holding the writer lock. > However, this is safe to do so as no tables

[PATCH net v2 2/2] ipmr: Add lockdep expression to ipmr_for_each_table macro

2020-05-14 Thread Amol Grover
During the initialization process, ipmr_new_table() is called to create new tables which in turn calls ipmr_get_table() which traverses net->ipv4.mr_tables without holding the writer lock. However, this is safe to do so as no tables exist at this time. Hence add a suitable lockdep expression to sil