Linux Netfilter development
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Netfilter Development <netfilter-devel@vger.kernel.org>
Cc: Duncan Roe <duncan_roe@optusnet.com.au>
Subject: Re: [PATCH libnftnl] include: refresh nf_tables.h copy
Date: Thu, 17 Oct 2024 10:10:03 +0200	[thread overview]
Message-ID: <ZxDGW1bmhBnl9FHN@calendula> (raw)
In-Reply-To: <ZxCm45kYRQu77bWX@slk15.local.net>

Hi Duncan,

On Thu, Oct 17, 2024 at 04:55:47PM +1100, Duncan Roe wrote:
[...]
> Suggest a better patch would be to delete this file.
>
> linux/netfilter/nf_tables.h is generated by kernel `make headers_install`, as is
> linux/errno.h (required by errno.h) and asm/socket.h (required by sys/socket.h).
> 
> We don't cache linux/errno.h or asm/socket.h, so why cache
> linux/netfilter/nf_tables.h?

Please note that all libraries cache this file to facilitate the
compilation of the library with older kernel headers. This practice is
intentional and essential for ensuring compatibility and flexibility
in the compilation process.

Thanks.

      reply	other threads:[~2024-10-17  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-10 12:58 [PATCH libnftnl] include: refresh nf_tables.h copy Pablo Neira Ayuso
2024-10-17  5:55 ` Duncan Roe
2024-10-17  8:10   ` Pablo Neira Ayuso [this message]

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=ZxDGW1bmhBnl9FHN@calendula \
    --to=pablo@netfilter.org \
    --cc=duncan_roe@optusnet.com.au \
    --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