diff options
author | Florian Westphal <fw@strlen.de> | 2018-05-29 13:47:11 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-05-29 13:48:19 +0200 |
commit | c2cad53ffc22acf1a600219404c6ea5a9f988c37 (patch) | |
tree | c08a477318bd377b8eeb0510d9265809c1c60ec4 /src/parser_bison.y | |
parent | 3b101fcbcfe01c04e17c36103fcbbdda93b12863 (diff) |
meters: do not set a defaut meter size from userspace
doing this breaks with older kernels as it will pick a set without
and update callback.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/parser_bison.y')
-rw-r--r-- | src/parser_bison.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser_bison.y b/src/parser_bison.y index 0e3ee84f..1eb6ec6e 100644 --- a/src/parser_bison.y +++ b/src/parser_bison.y @@ -2789,7 +2789,7 @@ meter_stmt_alloc : METER identifier '{' meter_key_expr stmt '}' { $$ = meter_stmt_alloc(&@$); $$->meter.name = $2; - $$->meter.size = 0xffff; + $$->meter.size = 0; $$->meter.key = $4; $$->meter.stmt = $5; $$->location = @$; |