在 2019/8/3 8:21, Jakub Kicinski 写道: > 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? you are correct, it will be send an UBIND event when the block is destroyed
- [PATCH net-next v5 1/6] cls_api: modify the tc_indr_block_i... wenxu
- [PATCH net-next v5 5/6] flow_offload: support get flow_bloc... wenxu
- Re: [PATCH net-next v5 5/6] flow_offload: support get ... Jakub Kicinski
- Re: [PATCH net-next v5 5/6] flow_offload: support ... wenxu
- Re: [PATCH net-next v5 5/6] flow_offload: supp... Jakub Kicinski
- Re: [PATCH net-next v5 5/6] flow_offload: support ... wenxu
- Re: [PATCH net-next v5 5/6] flow_offload: supp... wenxu
- Re: [PATCH net-next v5 5/6] flow_offload: ... Jakub Kicinski
- Re: [PATCH net-next v5 5/6] flow_offl... wenxu
- Re: [PATCH net-next v5 5/6] flow_... Jakub Kicinski
- Re: [PATCH net-next v5 5/6] flow_... wenxu
- [PATCH net-next v5 4/6] flow_offload: move tc indirect bloc... wenxu
- [PATCH net-next v5 2/6] cls_api: replace block with flow_bl... wenxu
- [PATCH net-next 3/6] cls_api: add flow_indr_block_call func... wenxu
- [PATCH net-next v5 6/6] netfilter: nf_tables_offload: suppo... wenxu