more various cleanups related to struct datatype
Status from this message: Applied this little patch, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | datatype: make "flags" field of datatype struct simple booleansinclude/ src/ src/ +3 more | +30 | 1 reply | |
| 2/5 | datatype: don't clone static name/desc strings for datatypeinclude/ src/ | +12 | 0 replies | |
| 3/5 | datatype: don't clone datatype in set_datatype_alloc() if byteorder already matchessrc/ src/ | +12 | 0 replies | |
| 4/5 | datatype: extend set_datatype_alloc() to change sizeinclude/ src/ src/ +2 more | +37 | 0 replies | |
| 5/5 | datatype: use xmalloc() for allocating datatype in datatype_clone()src/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nft 0/5] more various cleanups related to struct datatype
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(-)
Signature · 1 line
2.41.0