bpf: reference may_access_skb() from __bpf_prog_run()
authorJohannes Berg <johannes.berg@intel.com>
Tue, 11 Apr 2017 10:10:58 +0000 (12:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Apr 2017 14:54:27 +0000 (10:54 -0400)
commit96a94cc5158859943b7e4e72ae69e572815f5413
treef0c49877450c2ac6c37b91ab930916a5c65752d0
parent17c3060b1701fc69daedb4c90be6325d3d9fca8e
bpf: reference may_access_skb() from __bpf_prog_run()

It took me quite some time to figure out how this was linked,
so in order to save the next person the effort of finding it
add a comment in __bpf_prog_run() that indicates what exactly
determines that a program can access the ctx == skb.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/core.c