On Sat, 3 Aug 2019 07:19:31 +0800, wenxu wrote: > > Or: > > > > device unregister: > > - nft block destroy > > - UNBIND cb > > - free driver's block state > > - driver notifier callback > > - free driver's state > > > > No? > > For the second case maybe can't unbind cb? because the nft block is > destroied. There is no way to find the block(chain) in nft. But before the block is destroyed doesn't nft send an UNBIND event to the drivers, always?