diff options
author | Tim Gardner <tim.gardner@canonical.com> | 2010-03-17 16:18:56 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-03-17 16:18:56 +0100 |
commit | 606a9a02633c02d0e09fc96706f041053dbc57ee (patch) | |
tree | 815148645d417a184479d9b83813c53441809e59 /include/linux | |
parent | 0079c5aee34880bcee7feee9960f0502c73dc5fa (diff) | |
download | kernel_samsung_espresso10-606a9a02633c02d0e09fc96706f041053dbc57ee.zip kernel_samsung_espresso10-606a9a02633c02d0e09fc96706f041053dbc57ee.tar.gz kernel_samsung_espresso10-606a9a02633c02d0e09fc96706f041053dbc57ee.tar.bz2 |
netfilter: xt_recent: check for unsupported user space flags
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/netfilter/xt_recent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netfilter/xt_recent.h b/include/linux/netfilter/xt_recent.h index bba990e..83318e0 100644 --- a/include/linux/netfilter/xt_recent.h +++ b/include/linux/netfilter/xt_recent.h @@ -20,6 +20,9 @@ enum { /* Only allowed with --rcheck and --update */ #define XT_RECENT_MODIFIERS (XT_RECENT_TTL|XT_RECENT_REAP) +#define XT_RECENT_VALID_FLAGS (XT_RECENT_CHECK|XT_RECENT_SET|XT_RECENT_UPDATE|\ + XT_RECENT_REMOVE|XT_RECENT_TTL|XT_RECENT_REAP) + struct xt_recent_mtinfo { __u32 seconds; __u32 hit_count; |