Hi Pablo,
Shouldn't it free the expression list at the same moment when the
rule will actually be freed?
So call_rcu() instead of kfree_rcu().
You're right. New patch attached using the call_rcu approach.
The patch looks fine now. Removing the nft_ctx does not harm actually,
it was providing
superfluous flexibility in this destroying case.
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html