aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2017-08-17 17:22:37 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-17 10:25:19 -0700
commit047b0ecd683045dcea371f9d4d2917dcf3c553da (patch)
treefac249e34e4080b24edcacba128b5ae4a5a0cdd3 /net/tls
parentbpf: don't enable preemption twice in smap_do_verdict (diff)
downloadlinux-dev-047b0ecd683045dcea371f9d4d2917dcf3c553da.tar.xz
linux-dev-047b0ecd683045dcea371f9d4d2917dcf3c553da.zip
bpf: reuse tc bpf prologue for sk skb progs
Given both program types are effecitvely doing the same in the prologue, just reuse the one that we had for tc and only adapt to the corresponding drop verdict value. That way, we don't need to have the duplicate from 8a31db561566 ("bpf: add access to sock fields and pkt data from sk_skb programs") to maintain. Reported-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: John Fastabend <john.fastabend@gmail.com> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls')
0 files changed, 0 insertions, 0 deletions