Message ID | 1312005899.2873.70.camel@edumazet-laptop |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/net/core/filter.c b/net/core/filter.c index 36f975f..377f3ca 100644 --- a/net/core/filter.c +++ b/net/core/filter.c @@ -119,16 +119,14 @@ unsigned int sk_run_filter(const struct sk_buff *skb, u32 tmp; int k; + fentry--; /* * Process array of filter instructions. */ - for (;; fentry++) { -#if defined(CONFIG_X86_32) + for (;;) { #define K (fentry->k) -#else - const u32 K = fentry->k; -#endif + fentry++; switch (fentry->code) { case BPF_S_ALU_ADD_X: A += X;