Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Fix hardif remove/add race

2016-06-12 Thread Marek Lindner
On Tuesday, May 17, 2016 15:39:27 Andrew Lunn wrote: > A hard interface can be removed and then added back in quick > succession. This is particularly true for hdlc interface when changing > the protocol. > > It is not possible it synchronously remove the sysfs and debugfs > entries for the hard

[B.A.T.M.A.N.] [PATCH] batman-adv: Fix hardif remove/add race

2016-05-17 Thread Andrew Lunn
A hard interface can be removed and then added back in quick succession. This is particularly true for hdlc interface when changing the protocol. It is not possible it synchronously remove the sysfs and debugfs entries for the hard interface when it is removed because the files may be open. Thus