Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313895
b: refs/heads/master
c: 4bfaddf
h: refs/heads/master
i:
  313893: 37f4c52
  313891: 01d5905
  313887: 7b0a06e
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jun 6, 2012
1 parent f27f3f5 commit 9955b28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2fd03a0115a244c5f622453b2b1f038ed5700a6
refs/heads/master: 4bfaddf15bac7afa7048d105864dab65c5d1f9e7
4 changes: 4 additions & 0 deletions trunk/arch/x86/net/bpf_jit_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ void bpf_jit_compile(struct sk_filter *fp)
else
EMIT1_off32(0x0d, K); /* or imm32,%eax */
break;
case BPF_S_ANC_ALU_XOR_X: /* A ^= X; */
seen |= SEEN_XREG;
EMIT2(0x31, 0xd8); /* xor %ebx,%eax */
break;
case BPF_S_ALU_LSH_X: /* A <<= X; */
seen |= SEEN_XREG;
EMIT4(0x89, 0xd9, 0xd3, 0xe0); /* mov %ebx,%ecx; shl %cl,%eax */
Expand Down

0 comments on commit 9955b28

Please sign in to comment.