LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH] uapi: nfnetlink_cthelper.h: fix userspace compilation error
@ 2021-02-22  8:00 Dmitry V. Levin
  2021-02-27 21:34 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry V. Levin @ 2021-02-22  8:00 UTC (permalink / raw
  To: Pablo Neira Ayuso
  Cc: Jozsef Kadlecsik, Florian Westphal, netfilter-devel, coreteam,
	linux-kernel

Apparently, <linux/netfilter/nfnetlink_cthelper.h> and
<linux/netfilter/nfnetlink_acct.h> could not be included into the same
compilation unit because of a cut-and-paste typo in the former header.

Fixes: 12f7a505331e6 ("netfilter: add user-space connection tracking helper infrastructure")
Cc: <stable@vger.kernel.org> # v3.6
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 include/uapi/linux/netfilter/nfnetlink_cthelper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uapi/linux/netfilter/nfnetlink_cthelper.h b/include/uapi/linux/netfilter/nfnetlink_cthelper.h
index a13137afc429..70af02092d16 100644
--- a/include/uapi/linux/netfilter/nfnetlink_cthelper.h
+++ b/include/uapi/linux/netfilter/nfnetlink_cthelper.h
@@ -5,7 +5,7 @@
 #define NFCT_HELPER_STATUS_DISABLED	0
 #define NFCT_HELPER_STATUS_ENABLED	1
 
-enum nfnl_acct_msg_types {
+enum nfnl_cthelper_msg_types {
 	NFNL_MSG_CTHELPER_NEW,
 	NFNL_MSG_CTHELPER_GET,
 	NFNL_MSG_CTHELPER_DEL,
-- 
ldv

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] uapi: nfnetlink_cthelper.h: fix userspace compilation error
  2021-02-22  8:00 [PATCH] uapi: nfnetlink_cthelper.h: fix userspace compilation error Dmitry V. Levin
@ 2021-02-27 21:34 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2021-02-27 21:34 UTC (permalink / raw
  To: Dmitry V. Levin
  Cc: Jozsef Kadlecsik, Florian Westphal, netfilter-devel, coreteam,
	linux-kernel

On Mon, Feb 22, 2021 at 08:00:00AM +0000, Dmitry V. Levin wrote:
> Apparently, <linux/netfilter/nfnetlink_cthelper.h> and
> <linux/netfilter/nfnetlink_acct.h> could not be included into the same
> compilation unit because of a cut-and-paste typo in the former header.

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-27 21:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-22  8:00 [PATCH] uapi: nfnetlink_cthelper.h: fix userspace compilation error Dmitry V. Levin
2021-02-27 21:34 ` Pablo Neira Ayuso

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 read-only IMAP folder(s) and NNTP newsgroup(s).