diff options
Diffstat (limited to 'net/sched/ematch.c')
-rw-r--r-- | net/sched/ematch.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/sched/ematch.c b/net/sched/ematch.c index 8250c36543d8..6742200b1307 100644 --- a/net/sched/ematch.c +++ b/net/sched/ematch.c | |||
@@ -528,9 +528,10 @@ pop_stack: | |||
528 | match_idx = stack[--stackp]; | 528 | match_idx = stack[--stackp]; |
529 | cur_match = tcf_em_get_match(tree, match_idx); | 529 | cur_match = tcf_em_get_match(tree, match_idx); |
530 | 530 | ||
531 | if (tcf_em_is_inverted(cur_match)) | ||
532 | res = !res; | ||
533 | |||
531 | if (tcf_em_early_end(cur_match, res)) { | 534 | if (tcf_em_early_end(cur_match, res)) { |
532 | if (tcf_em_is_inverted(cur_match)) | ||
533 | res = !res; | ||
534 | goto pop_stack; | 535 | goto pop_stack; |
535 | } else { | 536 | } else { |
536 | match_idx++; | 537 | match_idx++; |