]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/bpf: Fix skb_copy_bits() parameter passing
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 15 Jan 2015 09:20:28 +0000 (10:20 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 15 Jan 2015 10:10:29 +0000 (11:10 +0100)
commitdb9aa8f432b83b270686e68172c6d2895babdc26
tree2afd2855d8c5c05ae6d44160f85261a22cfaf74e
parent5a80244246d503df688341a10e1d244d15bb8ce5
s390/bpf: Fix skb_copy_bits() parameter passing

The skb_copy_bits() function has the following signature:
int skb_copy_bits(const struct sk_buff *skb, int offset, void *to, int len)

Currently in bpf_jit.S the "to" and "len" parameters have been
exchanged. So fix this and call the function with the correct
parameters.

Signed-off-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/net/bpf_jit.S