Florian Westphal <fw@xxxxxxxxx> wrote: > Florian Westphal <fw@xxxxxxxxx> wrote: > > + case NFT_CT_BYTES: /* fallthrough */ > > + case NFT_CT_PKTS: { > > + const struct nf_conn_acct *acct = nf_conn_acct_find(ct); > > + u64 count = 0; > > + > > + if (acct) > > + count = nft_ct_get_eval_counter(acct->counter, > > + priv->key, priv->dir); > > + memcpy(dest, &count, sizeof(count)); > > Seems this needs to be a put_unaligned(). V2 coming soon. Ahem. No. This is fine. Seems I need to rest, I'll send the nft_byteorder patch tomorrow. Sorry. -- 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