s390/bpf: Fix offset parameter for skb_copy_bits()
authorMichael Holzheu <holzheu@linux.vnet.ibm.com>
Thu, 15 Jan 2015 09:21:20 +0000 (10:21 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 15 Jan 2015 10:10:33 +0000 (11:10 +0100)
commitd86eb7448e6de97b1319ea935f77b65590dbc049
tree03fbcb37e572739c2b151b6e4d98b065330100ae
parentdb9aa8f432b83b270686e68172c6d2895babdc26
s390/bpf: Fix offset parameter for skb_copy_bits()

Currently the offset parameter for skb_copy_bits is changed in
sk_load_word() and sk_load_half(). Therefore it is not correct when
calling skb_copy_bits(). Fix this and use the original offset
for the function call.

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