From: zhuangfeiran@ict.ac.cn Date: Wed, 28 Mar 2012 23:27:00 +0000 (+0000) Subject: x86 bpf_jit: fix a bug in emitting the 16-bit immediate operand of AND X-Git-Tag: v3.4-rc2~37^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d24fb3684f347226747c6b11ea426b7b992694e;p=pandora-kernel.git x86 bpf_jit: fix a bug in emitting the 16-bit immediate operand of AND When K >= 0xFFFF0000, AND needs the two least significant bytes of K as its operand, but EMIT2() gives it the least significant byte of K and 0x2. EMIT() should be used here to replace EMIT2(). Signed-off-by: Feiran Zhuang Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed