This is a followup to Subject: [PATCH nft 0/9] various cleanups related to enums and struct datatype Date: Wed, 20 Sep 2023 16:26:01 +0200 >From that patchset, several patches were merged. Except: 1) [PATCH nft 8/9] datatype: use __attribute__((packed)) instead of enum bitfields This patch was rejected. It's gone and no longer present. 2) [PATCH nft 3/9] datatype: drop flags field from datatype This patch become the new "datatype: make "flags" field of datatype struct simple booleans" in this series. The flag DTYPE_F_ALLOC flag is preserved (as new "f_alloc" field). Thomas Haller (5): datatype: make "flags" field of datatype struct simple booleans datatype: don't clone static name/desc strings for datatype datatype: don't clone datatype in set_datatype_alloc() if byteorder already matches datatype: extend set_datatype_alloc() to change size datatype: use xmalloc() for allocating datatype in datatype_clone() include/datatype.h | 39 +++++++++++++------------ src/datatype.c | 61 +++++++++++++++++++++++++-------------- src/evaluate.c | 43 ++++++++++++--------------- src/meta.c | 2 +- src/netlink.c | 4 +-- src/netlink_delinearize.c | 2 +- src/payload.c | 7 ++--- src/rt.c | 2 +- src/segtree.c | 5 ++-- 9 files changed, 89 insertions(+), 76 deletions(-) -- 2.41.0