On Monday, June 13, 2016 07:41:29 Sven Eckelmann wrote:
The description given in the commit is misleading and is at least not true for sysfs. The sysfs file structure should instead be deleted immediately on rtnl notifications and be underlying objects should be removed later when all kobject_put were done for the object.
This reverts commit 6b0485c758be ("batman-adv: Fix hardif remove/add race")
Applied in revision b58db7b.
@Andrew: Sven's patchset aims to fix the problem you encountered in a better way while also addressing other issues. Can you give it a try in your environment to confirm it fixes your problem too ?
Thanks, Marek