diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2017-06-11 00:50:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-06-11 01:05:47 +0200 |
commit | ded092cd73c2c56a394b936f86897f29b2e131c0 (patch) | |
tree | d8fc58484a521feb4eeb19bbb332e00148efe51e /drivers/rtc/rtc-ds1742.c | |
parent | bpf: remove cg_skb_func_proto and use sk_filter_func_proto directly (diff) | |
download | linux-ded092cd73c2c56a394b936f86897f29b2e131c0.tar.xz linux-ded092cd73c2c56a394b936f86897f29b2e131c0.zip |
bpf: add bpf_set_hash helper for tc progs
Allow for tc BPF programs to set a skb->hash, apart from clearing
and triggering a recalc that we have right now. It allows for BPF
to implement a custom hashing routine for skb_get_hash().
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/rtc/rtc-ds1742.c')
0 files changed, 0 insertions, 0 deletions