netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Haller <thaller@redhat.com>
To: NetFilter <netfilter-devel@vger.kernel.org>
Cc: Thomas Haller <thaller@redhat.com>
Subject: [PATCH nft 0/5] more various cleanups related to struct datatype
Date: Wed, 27 Sep 2023 21:57:23 +0200	[thread overview]
Message-ID: <20230927200143.3798124-1-thaller@redhat.com> (raw)

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


             reply	other threads:[~2023-09-27 20:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-27 19:57 Thomas Haller [this message]
2023-09-27 19:57 ` [PATCH nft 1/5] datatype: make "flags" field of datatype struct simple booleans Thomas Haller
2024-08-19 22:41   ` Pablo Neira Ayuso
2023-09-27 19:57 ` [PATCH nft 2/5] datatype: don't clone static name/desc strings for datatype Thomas Haller
2023-09-27 19:57 ` [PATCH nft 3/5] datatype: don't clone datatype in set_datatype_alloc() if byteorder already matches Thomas Haller
2023-09-27 19:57 ` [PATCH nft 4/5] datatype: extend set_datatype_alloc() to change size Thomas Haller
2023-09-27 19:57 ` [PATCH nft 5/5] datatype: use xmalloc() for allocating datatype in datatype_clone() Thomas Haller
2023-09-28 19:11   ` Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230927200143.3798124-1-thaller@redhat.com \
    --to=thaller@redhat.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).