diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/filter.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/core/filter.c b/net/core/filter.c index cfbea889a0eb..5099c4b4a53f 100644 --- a/net/core/filter.c +++ b/net/core/filter.c | |||
@@ -315,6 +315,9 @@ load_b: | |||
315 | case BPF_S_ANC_CPU: | 315 | case BPF_S_ANC_CPU: |
316 | A = raw_smp_processor_id(); | 316 | A = raw_smp_processor_id(); |
317 | continue; | 317 | continue; |
318 | case BPF_S_ANC_ALU_XOR_X: | ||
319 | A ^= X; | ||
320 | continue; | ||
318 | case BPF_S_ANC_NLATTR: { | 321 | case BPF_S_ANC_NLATTR: { |
319 | struct nlattr *nla; | 322 | struct nlattr *nla; |
320 | 323 | ||
@@ -559,6 +562,7 @@ int sk_chk_filter(struct sock_filter *filter, unsigned int flen) | |||
559 | ANCILLARY(HATYPE); | 562 | ANCILLARY(HATYPE); |
560 | ANCILLARY(RXHASH); | 563 | ANCILLARY(RXHASH); |
561 | ANCILLARY(CPU); | 564 | ANCILLARY(CPU); |
565 | ANCILLARY(ALU_XOR_X); | ||
562 | } | 566 | } |
563 | } | 567 | } |
564 | ftest->code = code; | 568 | ftest->code = code; |