summaryrefslogtreecommitdiff
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-01-06 21:32:16 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-01-09 02:40:34 (GMT)
commit01dd194c387af5b3c4c1f6459d30f596565e466c (patch)
treec440172d23a281207f7307c1099165b592953efb /drivers/net/usb
parentb351a0633e771676f94262a209ae28699eb26038 (diff)
downloadlinux-01dd194c387af5b3c4c1f6459d30f596565e466c.tar.xz
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