commit | 462738f4f04febe16bf366925559c267130c88f0 | [log] [tgz] |
---|---|---|
author | Nicolas Schichan <nschichan@freebox.fr> | Wed Feb 13 17:30:39 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 14 13:26:44 2013 -0500 |
tree | 3b04e14ad0f6985788c461e04341bf03066c49ce | |
parent | 3e55f8b306cf305832a4ac78aa82e1b40e818ece [diff] |
ARM: net: bpf_jit: fix emit_swap16() for non ARMv6+. The original code was generating an lsl instructions using the value of ARM_R8 (skb_headlen, possibly uninitialized if no skb_headlen access was required) as a shift amount. Signed-off-by: Nicolas Schichan <nschichan@freebox.fr> Acked-by: Mircea Gherzan <mgherzan@gmail.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>