On Wed, Mar 18, 2020 at 12:45:31PM +0300, Dan Carpenter wrote: > Hello Pablo Neira Ayuso, > > The patch 409444522976: "netfilter: nf_tables: add elements with > stateful expressions" from Mar 11, 2020, leads to the following > static checker warning: > > net/netfilter/nf_tables_api.c:5140 nft_add_set_elem() > warn: passing freed memory 'expr' This tool was very fast to diagnose, nice. I posted this patch to address this: https://patchwork.ozlabs.org/patch/1257035/ Thanks for reporting.