diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-07-15 05:27:41 -0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-07-15 05:27:41 -0400 |
commit | cca5cf91c789f3301cc2541a79c323c53be5a8e1 (patch) | |
tree | dde344cf091b4ee2c5fd8ab238af5a0b18cb5918 /include/net | |
parent | 116e1f1b09dffe0ff8ebab73501324dca7bbbe5e (diff) |
nfnetlink_log: do not expose NFULNL_COPY_DISABLED to user-space
This patch moves NFULNL_COPY_PACKET definition from
linux/netfilter/nfnetlink_log.h to net/netfilter/nfnetlink_log.h
since this copy mode is only for internal use.
I have also changed the value from 0x03 to 0xff. Thus, we avoid
a gap from user-space that may confuse users if we add new
copy modes in the future.
This change was introduced in:
http://www.spinics.net/lists/netfilter-devel/msg13535.html
Since this change is not included in any stable Linux kernel,
I think it's safe to make this change now. Anyway, this copy
mode does not make any sense from user-space, so this patch
should not break any existing setup.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nfnetlink_log.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nfnetlink_log.h b/include/net/netfilter/nfnetlink_log.h index b0569ff0775e..e2dec42c2db2 100644 --- a/include/net/netfilter/nfnetlink_log.h +++ b/include/net/netfilter/nfnetlink_log.h | |||
@@ -10,5 +10,7 @@ nfulnl_log_packet(u_int8_t pf, | |||
10 | const struct nf_loginfo *li_user, | 10 | const struct nf_loginfo *li_user, |
11 | const char *prefix); | 11 | const char *prefix); |
12 | 12 | ||
13 | #define NFULNL_COPY_DISABLED 0xff | ||
14 | |||
13 | #endif /* _KER_NFNETLINK_LOG_H */ | 15 | #endif /* _KER_NFNETLINK_LOG_H */ |
14 | 16 | ||