summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btusb.c
diff options
context:
space:
mode:
authorDaniel Borkmann2015-03-02 12:25:51 +0100
committerDavid S. Miller2015-03-02 20:51:38 +0100
commit49b31e576a0a264872aa06dbc1ce6cd0cb9db278 (patch)
tree39ae3283f118009d1a71b4e5b5e0a46b0a907688 /drivers/bluetooth/btusb.c
parentMerge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/... (diff)
downloadkernel-qcow2-linux-49b31e576a0a264872aa06dbc1ce6cd0cb9db278.tar.gz
kernel-qcow2-linux-49b31e576a0a264872aa06dbc1ce6cd0cb9db278.tar.xz
kernel-qcow2-linux-49b31e576a0a264872aa06dbc1ce6cd0cb9db278.zip
filter: refactor common filter attach code into __sk_attach_prog
Both sk_attach_filter() and sk_attach_bpf() are setting up sk_filter, charging skmem and attaching it to the socket after we got the eBPF prog up and ready. Lets refactor that into a common helper. Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions