Hi Jakub, On Thu, Jan 25, 2018 at 02:38:46PM -0800, Jakub Kicinski wrote: > On Thu, 25 Jan 2018 12:28:58 +0100, Pablo Neira Ayuso wrote: [...] > Ah, I must be misunderstanding. I meant when device is removed, not > the flow_table_hw module. Does the nf_flow_table_hw_module_exit() run > when device is removed? I was expecting that, for example something > like nft_flow_offload_iterate_cleanup() would queue up all the flow > remove calls and then call flush_work() (not cancel_work).
Oh right indeed, I need some code there to release all hw resources on module removal. Will revamp and send v5. Thanks for reviewing!