OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6c9c05
)
netfilter: nf_tables: correct NFT_LOGLEVEL_MAX value
author
Florian Westphal
<fw@strlen.de>
Sun, 12 May 2019 18:42:37 +0000
(20:42 +0200)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Sun, 12 May 2019 19:08:04 +0000
(21:08 +0200)
should be same as NFT_LOGLEVEL_AUDIT, so use -, not +.
Fixes:
7eced5ab5a73
("netfilter: nf_tables: add NFT_LOGLEVEL_* enumeration and use it")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/uapi/linux/netfilter/nf_tables.h
patch
|
blob
|
history
diff --git
a/include/uapi/linux/netfilter/nf_tables.h
b/include/uapi/linux/netfilter/nf_tables.h
index
92bb1e2
..
7bdb234
100644
(file)
--- a/
include/uapi/linux/netfilter/nf_tables.h
+++ b/
include/uapi/linux/netfilter/nf_tables.h
@@
-1134,7
+1134,7
@@
enum nft_log_level {
NFT_LOGLEVEL_AUDIT,
__NFT_LOGLEVEL_MAX
};
-#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX
+
1)
+#define NFT_LOGLEVEL_MAX (__NFT_LOGLEVEL_MAX
-
1)
/**
* enum nft_queue_attributes - nf_tables queue expression netlink attributes