Add extra bits for table, chain, sets and object handle. Signed-off-by: Harsha Sharma <harshasharmaiitr@xxxxxxxxx> --- net/netfilter/nf_tables_trace.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/net/netfilter/nf_tables_trace.c b/net/netfilter/nf_tables_trace.c index e1dc527a493b..f804c3924d32 100644 --- a/net/netfilter/nf_tables_trace.c +++ b/net/netfilter/nf_tables_trace.c @@ -212,7 +212,11 @@ void nft_trace_notify(struct nft_traceinfo *info) nla_total_size(sizeof(__be16)) + /* oiftype */ nla_total_size(sizeof(u32)) + /* mark */ nla_total_size(sizeof(u32)) + /* nfproto */ - nla_total_size(sizeof(u32)); /* policy */ + nla_total_size(sizeof(u32)); + /* policy */ + nla_total_size_64bit(sizeof(__be64)) + /* table handle */ + nla_total_size_64bit(sizeof(__be64)) + /* chain handle */ + nla_total_size_64bit(sizeof(__be64)) + /* set handle */ + nla_total_size_64bit(sizeof(__be64)) /* object handle */ if (nft_trace_have_verdict_chain(info)) size += nla_total_size(strlen(info->verdict->chain->name)); /* jump target */ -- 2.11.0 -- 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