On 7/16/20 8:21 PM, Konstantin Khorenko wrote:
> If nc->call_batch() == nf_tables_newrule(), it means > nc == nf_tables_cb[NFT_MSG_NEWRULE] > > nc == &ss->cb[cb_id] > => ss == nf_tables_subsys > > and we know that nf_tables_subsys.subsys_id = NFNL_SUBSYS_NFTABLES > > > static const struct nfnetlink_subsystem nf_tables_subsys = { > .name = "nf_tables", > .subsys_id = NFNL_SUBSYS_NFTABLES, > .cb = nf_tables_cb, > ... > > > Proven? > Seems ok. FTR I was thinking about 'request_module_nowait(); return -EAGAIN;' as an alternative. _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel