OSDN Git Service

Merge branch 'bpf-jit-fixes'
authorAlexei Starovoitov <ast@kernel.org>
Fri, 15 Dec 2017 17:19:36 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 15 Dec 2017 17:19:37 +0000 (09:19 -0800)
commitc1b08ebe5003ae291470cb6e26923628ab19606f
treed6536ec187e003bb6a7c87cc8acdef20e16bf6c2
parent2d17d8d79e77ff3f1b35b87522fc72fa562260ff
parent87ab8194303e73af2898e9e1c8b3b9bcfe91e7a9
Merge branch 'bpf-jit-fixes'

Daniel Borkmann says:

====================
Two fixes that deal with buggy usage of bpf_helper_changes_pkt_data()
in the sense that they also reload cached skb data when there's no
skb context but xdp one, for example. A fix where skb meta data is
reloaded out of the wrong register on helper call, rest is test cases
and making sure on verifier side that there's always the guarantee
that ctx sits in r1. Thanks!
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>