Skip to contentSkip to conversation

uapi: nfnetlink_cthelper.h: fix userspace compilation error

PATCH Applied Dmitry V. Levin 2 participants 2 messages Feb 22, 2021 – Feb 27, 2021 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: nfnetlink_cthelper.h: fix userspace compilation error

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 <[email protected]> # v3.6
---
 include/uapi/linux/netfilter/nfnetlink_cthelper.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/netfilter/nfnetlink_cthelper.h +1 -1
index a13137afc429..70af02092d16 100644
@@ -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,
Signature · 1 line
ldv
maintainer Applied
#1 lore raw
Quoted 3 lines · Dmitry V. Levin

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.