diff options
author | Daniel Borkmann | 2016-01-06 22:32:16 +0100 |
---|---|---|
committer | David S. Miller | 2016-01-08 21:40:34 -0500 |
commit | 01dd194c387af5b3c4c1f6459d30f596565e466c (patch) | |
tree | c440172d23a281207f7307c1099165b592953efb /drivers/net/usb | |
parent | b351a0633e771676f94262a209ae28699eb26038 (diff) |
bpf: cleanup bpf_prog_run_{save,clear}_cb helpers
Move the details behind the cb[] access into a small helper to decouple
and make them generic for bpf_prog_run_save_cb()/bpf_prog_run_clear_cb()
that was introduced via commit ff936a04e5f2 ("bpf: fix cb access in socket
filter programs"). Also add a comment to better clarify what is done in
bpf_skb_cb().
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
0 files changed, 0 insertions, 0 deletions